Previous Message
Next Message

Trouble with the Body Element

Sent by Byronsbyte on 17 December 2005 22:10


Greetings all,

I've been away from CSS design for a few months and find that I seem to have 
forgotten how to do something I used to do in my sleep. My problem is this. I 
have a simple 2-column layout. The html tag is formatted to black and the body 
tag, which is intended to also function as my wrapper, is formatted to white  
/*and*/ has a background image which I want to repeat down the left-hand 
side. (Granted right now white on white has no practical use but I'm planning for 
something else on another page and need this to work first.) 

The problem is this. The body doesn't seem to be extending downward as I add 
the other divs. I need it to because I need that white background to come all 
the way down so that none of the html, black background shows through. And 
I'll need the image border to work for subsequent pages. Would one of you kind 
folks take a look at it and tell me what I'm doing wrong?

The URL is here: http://www.byronsbyte.com/bernard/

The CSS is here: http://www.byronsbyte.com/bernard/css/layout.css

And the definition that I can't seem to find anything wrong with is the body 
tag which looks like this:

body /*white widget image*/
    {
        background:#fff url(../images/backgrounds/body-1_fff.jpg)
        left top repeat-x; /* center on vertical repeat white */
        width:99%;
        margin:auto;
        padding:0;
        text-align:center; /* center body */
    }
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: