I think you have broken your box model, which says you cant place any element inside a containing element thats too wide to fit. Width of the element, alon with margins, paddings, and borders all count.

Your container is set at 960px wide, but your table is also at 960px wide, so therefore breaks your layout. You can read about the box model here (http://www.w3.org/TR/CSS2/box.html).

OGGordon

11-16-2011, 04:47 PM

hi teedoff,

thanks for your reply. I deleted the table and tried what you told me but it still doesnt work so I dont think that it is because of the table. Maybe the boxes have <p> attributes in the css?

teedoff

11-16-2011, 04:50 PM

Maybe I misunderstood what you wanted.

You want the two rounded corner "boxes" to be side by side?

OGGordon

11-16-2011, 04:54 PM

Maybe I misunderstood what you wanted.

You want the two rounded corner "boxes" to be side by side?

yeah thats right ;)

and the big table under the two boxes.

teedoff

11-16-2011, 05:03 PM

What happens if you remove that margin-right: 4% from one_half?

OGGordon

11-16-2011, 05:17 PM

TEED!!! I LOVE YOU! Its working! thank you so much :). I didn't remove it, just changed it to 1% and change half width to 48%. Works! Thanks again :D

dyn

11-18-2011, 01:48 PM

you're stealing my complete website and post a topic about it on an open forum? :thumbsup: