Centerising site content?

What do I need to add into my code so that every time an user resizes his/her browser window, the image or the contens would always stay centericed?
Check this site to see what I mean:

http://www.samurina.com

I have tried the following code (with < and > marks) but it only works if I don`t use any layers in my page.

body bgcolor="#FFFFFF"
div align=“center”
My content
/div
/body

i think it should work if you just stick the whole thing in one large table with that table aligned to center… that way i believe your layers should always assume the top-left corner is its 0,0 and go from there.

So…

[table align=“center” ]
[tr][td]

…ALL your body content here…

[/td][/tr]
[/table]

i think i actually ran into this problem with one of my older pages so if this doesn’t work just let me know and i’ll go check it out. (It’s way back in the archives so i’d prefer to take an educated guess first … lol)

:love: ~ Seretha

You can also create a table that is 100% in width and in height!

:beam:

yea i wasn’t too sure if i had put that in my previous table…it makes sense tho seeing as it would take the up the full space available…

this question’s been asked a lot… do your self a favour and search the next time :slight_smile:

Thank you all for help! I dont have much experience about tables, but I guess Ill have to learn. I tested it and it worked fine.
(-: