View Full Version : Wrapping in a positioned container

06-01-2009, 10: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

06-02-2009, 01: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.

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


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