Click to See Complete Forum and Search --> : it should all bee so simple...
cuttyfranks
10-14-2006, 11:30 PM
i'm trying to get away from the use of <tables> completely. however, when i try to recreate a 2 column table using css that is 400px in each, i come up with conflict after conflict. i mostly have a hard time getting the two elements centered.
any help is greatly appreciated.
Thanks in advance!
felgall
10-15-2006, 12:28 AM
Don't use CSS to recreate a table. If it is tabular data then the correct HTML to use is a table and if it is not tabular data then use CSS to lay it out the way it is supposed to look rather than trying to replicate a table. Two divs each 400px wide will not fit beside one another unless the browser is wide enough and they will always end up one under the other if the page is printed because most pronters can only handle somewhere between 700px and 770px depending on the margins that they set.
If you have two objects that are supposed to be adjacent to one another and the two togerther need to be centred then you need to centre their container rather than the two individual objects.