05-07-2008, 01:35 AM
|
#4 (permalink)
|
|
The Frequenter
Join Date: Dec 2007
Location: In my basement
Posts: 368
Thanks: 44
|
Yeah, except that sets all the margins to 0, including the top and bottom margins, which could possibly not be what he wants. And that last one isn't even shorthand.
Anyway, I don't know why I put overflow visible on there.
Coding the entire thing... Slice the entire background on the very left.
body(background:#hexColorOfTheTopOfTheImage url('image.gif') repeat-x 0pt 100% scroll;}
as for the bottom part, it really depends. Pushing a footer is a pain, you can normally set a <div> with height:100%; above it, and then place the footer below.
Finally, for the main content, pick out your favorite rounded corners technique and add a wrapper around it with margin:0 auto; or text-align:center;
|
|
|