View Full Version : Help with basic css
DIRTYDISCO
02-02-2005, 11:17 PM
Ive just got dreamweaver and flash and im trying to establish how to change the background colour of the template (css) form boring grey to something more appealing sorry if this doesnt work your minds to much but it would help me a great deal
the page im trying to edit is
http://www.dirtydisco.net/dirtydisco%20site%20news.htm
drummin
02-03-2005, 12:01 AM
Hey DD,
Just add or modify your style css to change BG color (#ffffff).
body {padding:0px; margin:0px; border:0px; background:#ffffff;}
drummin
02-03-2005, 12:02 AM
Hey DD,
Just add or modify your style css to change BG color (#ffffff).
body {padding:0px; margin:0px; border:0px; background:#ffffff;}
DIRTYDISCO
02-03-2005, 01:36 AM
I will give it a whizz
DIRTYDISCO
02-03-2005, 02:56 AM
the actual background of the site looks like its dependant of this file : bg_grad.jpg, if so can you just delete it and replace it with something else or
would that cause problems? when i open it in flash it looks like some kind of bitmap or something and i guess it creates a mutiple image of it to create the background does that sound right ?
ie if i make a new bg_grad.png would i be heading in the right direction or am i barking mad
http://www.dirtydisco.net/dirtydisco%20site%20news.htm
MarcieZoob
02-03-2005, 05:11 AM
In your stylesheet, the background is being defined in the following body style:
body{
font-family: Arial,sans-serif;
color: #333333;
line-height: 1.166;
margin: 0px;
padding: 0px;
background: #cccccc url("bg_grad.jpg") fixed;
Change the background hex code to the color you want on your background and delete "url("bg_grad.jpg") fixed". Example for a white background:
background: #FFFFFF;
DIRTYDISCO
02-03-2005, 10:34 PM
Its done the trick ! now to redesign the whole site
deep joy!