Floating an Image

by Ben Ocean <beno(at)cnw.com>

 Date:  Fri, 25 Aug 2000 11:13:34 -0700
 To:  hwg-techniques(at)hwg.org
  todo: View Thread, Original
<html>
Hi;<br>
One of my clients' home pages has a large graphic that fills up the page
in a standard 600*800 res. screen. He wants me to frame this graphic and
float it so that it's centered in higher res. screens. I'm trying this
code:<br>
&lt;html&gt;&lt;body&gt;<br>
&lt;table align=center valign=middle&gt;<br>
&lt;tr height=*&gt;&lt;/tr&gt;<br>
&lt;tr height=150&gt;&lt;td&gt;&lt;img
src=&quot;images/colors.gif&quot;&gt;&lt;/td&gt;&lt;/tr&gt;<br>
&lt;tr height=*&gt;&lt;/tr&gt;<br>
&lt;/table&gt;&lt;/body&gt;&lt;/html&gt;<br>
This makes the image center horizontally but not vertically. If I make
the first table row height equal to, say, 100, it does push the image
down. Why can't I use the wildcard? Is there another way around
this?<br>
TIA,<br>
BenO<br>
</html>

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA