• Hi Guest: Welcome to TRIBE, the online home of TRIBE MAGAZINE. If you'd like to post here, or reply to existing posts on TRIBE, you first have to register. Join us!

CSS help


Staff member
if I have a picture in a layer (using <div>), how do i center it on a page?

I know how tp position it at a certian place on the page but how do I centre it on the page using css so it appears dead centre each time?


TRIBE Member
put a one row, one column table in the div tag, make the table width="100%" and then make the <td align="center"> and put the img inside the <td>