Can't get the background to have content inside.

I wonder why the background box in this test http://www.aami.org/dev/tgs/template.htm page is not containing the content inside.
have created a 'container' that sets the background color and containing the masthead and a 'wrap' div that contains the two divs 'sidebar' and 'content '. Why the background is not expanding to contain the content?

I have attached the relevant CSS.

Hello

Now that the floats are empty, there are a few changes to make in your CSS.

First of all, remove the width of the body.

Replace:

{body
font: 11px/1.33 Verdana, Arial, Helvetica, without serif.
color: #222;
background-color: white;
background: #DEE5EC url(images/body_bgrnd.jpg) horizontal;
margin: 12px auto;
padding: 0;
}

Then, add a width to the utility div and Center it with a left-auto
the margin of
(Center a div to a width and a left and right margin set to automatic):

{#utilities}
margin: 0px auto 12px;
text-align: right;
Width: 856px;
}

Then give the container div a width and Center:

#container {}
background-color: #FFFFFF;
Padding: 12px;
border: 1px solid #666;
Width: 856px;
margin: 0px auto;
}

Then, add a width to the div of film:

#wrap {}
padding: 0px 24 PX.
background: #FF0000;
Width: 856px;
}

Now the width % fleet in scarf have a width value, they can be a
percent of.

Take care
Tim

"TSemmes" wrote in message
News:ft042u$3dg$1@forums. Macromedia.com...
> Seems to work in Mozilla, but not in Firefox.
> http://www.aami.org/dev/tgs/template.htm
> It works for you in your browser?

Tags: Dreamweaver

Similar Questions

Maybe you are looking for

  • Presario stuck in Mode without failure.

    I have a Presario SR5262NX new in November 2007, stuck in safe mode: Intel Pentium Dual Core E2160, 1.80 GHz; Cache L2 1 MB; 2 GB OF RAM; 320 GB DD; Vista Home Premium (32 bit); updated for FSP 550W PSU and GeForce 9600GT video card. The PC is not us

  • P6714y Pavilion: Pavilion investigation video p6714y

    The Pavilion p6714y desktop computer supports two monitors?  If so, what needs to be done to connect a second monitor to that old desk?  (I'm a little illiterate material).

  • Recovering files MS-200

    the dreaded BSOD then had to re - install Windows. HP MS-200 all-in-one running windows 7, there was no restore points, so I had to use the built in HP recovery system to back up files. Felt confident because it took forever BLAH files to save on an

  • BlackBerry Z10 favebook

    My z 10 on main screen it facebook app when I click on it it does not work someone else has had this problem said sorry unexpected error has occurred please try again

  • How to upgrade a BB Contact

    Hello guys,. I can read the contact easily. But I don't get how to update a Contact address and the country. I want to update only the country and address. Please someone tell me.