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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

center without using frames ??

Status
Not open for further replies.

seti

Programmer
Oct 23, 2000
40
BE
Hi,

How can I center an image on a page, vertically and horizontally, without using frames ??

grtz,

seti
 
Code:
<table width=&quot;100%&quot; height=&quot;100%&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;>
  <tr>
    <td align=&quot;center&quot; valign=&quot;middle&quot;>&nbsp;</td>
  </tr>
</table>

This isnt correct code -- but it works

Listen All I ask is that You close out a Post You Started!!!!
 
thanx

does it work in all resolutions ?
 
yes, since it use % not pixels.

width=&quot;100%&quot; height=&quot;100%&quot;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top