PDA

View Full Version : Wrapping in a positioned container


jamiew23
06-01-2009, 11:34 PM
I want to be able to wrap Divs into a positioned container AKA a table.

How would i do this?

What I want to achieve is by adding a table and centering it I can then add divs inside it and they move with the table so in affect it will all adjust with screen resolution.

Thank you

coloeagle
06-02-2009, 02:00 AM
You shouldn't use a table for your layout. You can accomplish this by having a main container div and then place your other divs inside this.

Style your container div to be centered in the browser.

Corrosive
06-02-2009, 07:09 AM
Here, this explains what you need to do...and FFS, stop using tables!!!

http://www.dreamweaverclub.com/css-center-content.php

jamiew23
06-02-2009, 11:40 AM
thanks i got it now :)