PDA

View Full Version : Center layer


jocast
06-24-2005, 06:42 PM
hello forun, am trying to center a main layer so the web page can always be in the center in the browser just like google. how can i do this? i checked the google sourcecode ans i saw they have a centred table. I tried to do it that way i inset a table then i move my layer inside the table but still not centred....what can i do?

domedia
06-24-2005, 06:46 PM
We just had a thread about this:
http://www.dreamweaverclub.com/forum/index...?showtopic=567& ('http://www.dreamweaverclub.com/forum/index.php?showtopic=567&')
I would just take everything out of the layer and put inside the table instead, but since you're not giving any info on your code at all it's just guesswork..

jocast
06-25-2005, 04:44 AM
I did that and still having problems
my page is centred ok, but i have 3 layers inside the table and they do not move along with the table. i already tried the positioning settings absolute, relative etc...
what should i use??

domedia
06-27-2005, 12:45 PM
Use relative. Without seeing the actual code I can't help more.