Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Dreamweaver & css background



10:47 am on Feb 24, 2006 (gmt 0)

5+ Year Member

Hello guys. Recently I am making the shift from html and php into css. I mainly use dreamweaver, and while i can do the basics like change the font and backround of text and tables with .css, for the life of me i can't figure out how to change the background of just the web page itself?

In dreamweavr I usualy select the items I want with my mouse then hit ADD or ATTACH for the style I want. But how to tell it to change the background of the entire page? I could just right click and manualy edit the page default background image, but that's not css and would defeat the purpose of .css' advantage.

I hope I am making this understandable.


2:05 pm on Feb 24, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

Welcome to webmasterworld :)

You can use:

body { background: url(yourimge.gif); }

In your CSS


2:28 am on Feb 25, 2006 (gmt 0)

5+ Year Member

Limbo thanks for replying to my stupidity. Seems I got too used to point-click-drag-drop in DW. I was confused when there was no option for that and assumed even if I had coded it, I'd have to still attach the statement to the page somehow. But it worked all automatic as soon as I manualy edited the .css file by hand.

Another problem solved.


Featured Threads

Hot Threads This Week

Hot Threads This Month