Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Table alignment and images. 1

Status
Not open for further replies.

naiku

Technical User
Joined
Apr 25, 2002
Messages
346
Location
US
Hey All

I am trying to resize one of my pages so that it looks good to both viewers of 800*600 and 1024*768 (thanks to a suggestion by one of the members here). Currently the page displays pictures of staff with their contact details, If viewed in 800*600 then it does not look so bad (except for a bit of alignment tweaking between the pictures) but when I view it at 1024*768 everything is to the left of the screen.

What is the easiest way for me to center the table whether viewed at 1024*768 or 800*600 and keep my pictures where I want them. To get a better idea of what I mean take a look at the contacts page at
Thanks

Naiku
 
hi naiku,

if you put the whole of your page inside a 1 row by 1 column table (width="100%") and centre the cell, you should be ok. try this...

<table width=&quot;100%&quot;>
<tr>
<td>

...
your content
...

</td>
</tr>
</table>

hope this helps,

ss...
 
Excellent that works exactly how I want it to, thanks very much. I thought I might have to place all the content into another table but I was going to autostretch it.

Thank you again

Naiku
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top