View Full Version : Layers in a table
boyleswebdesign
08-21-2007, 12:50 AM
Hello, is it possible to make a table thats 1x1 and 800 px wide and put layers in it, so that it would always be centered? Is there a way to do this? thanks
alloydog
08-21-2007, 02:45 AM
1x1x800?
To cantre a table, in plain old HTML4.01 you use:
<table align="center" width="800">
If you use styling then:
<table style="width:800;margin:0 auto;">
or:
HTML
<table class="centre">
CSS
.centre {width:800;margin:0 auto;}
jeverd01
08-21-2007, 05:48 AM
A better appoach would be placing it inside of a div tag rather than a table.
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.