PDA

View Full Version : Cutenews help // +REP



Jahova
04-04-2007, 09:50 AM
I want my cutenews news template to have a different background colour than white...
what would the code for the background be in cutenews.
+rep to whoever awnsers.

- Tom
(Sorry if in wrong section)

Edited by Lµke (Forum Moderator): Thread Moved From Website Designing. Please post in the correct section next time, Thanks :).

F32
04-04-2007, 10:07 AM
It's the same as HTML [:

Decode
04-04-2007, 10:17 AM
Add this to the begining of your template:
<div style="background: #colour here#">

and this at the end:
</div>


Or make a .html file and use this code:


<html>
<head><title></title>
</head>
<body style="background: colour here">
<?PHP
$number=10;
include("/home/www/Path to your news goes here");
?>
</body>
</html>

ScottDiamond
04-04-2007, 10:35 AM
Add this to the begining of your template:
<div style="background: #colour here#">

and this at the end:
</div>


Or make a .html file and use this code:


<html>
<head><title></title>
</head>
<body style="background: colour here">
<?PHP
$number=10;
include("/home/www/Path to your news goes here");
?>
</body>
</html>

Why make a div in the template when you can put pure CSS?

:Edzy
04-04-2007, 10:39 AM
I want my cutenews news template to have a different background colour than white...
what would the code for the background be in cutenews.
+rep to whoever awnsers.

- Tom
(Sorry if in wrong section)

Edited by Lµke (Forum Moderator): Thread Moved From Website Designing. Please post in the correct section next time, Thanks :).

i just stick <body bgcolor="#HEXCODE"> at the top

Invent
04-04-2007, 01:10 PM
i just stick <body bgcolor="#HEXCODE"> at the top

CSS ftw.

Jahova
04-04-2007, 02:06 PM
ty
ty
ty
ty
ty =P
+rep to all
- Tom

Want to hide these adverts? Register an account for free!