RE: Floating an Image

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

 Date:  Fri, 25 Aug 2000 14:25:32 -0700
 To:  <mdowden(at)vvonline.com>
 Cc:  hwg-techniques(at)hwg.org
 References:  0
  todo: View Thread, Original
<html>
At 03:36 PM 8/25/2000 -0400, you wrote:<br>
<blockquote type=cite cite><font face="arial" size=2 color="#0000FF">wild
cards only work in framesets...</font><br>
<font face="arial" size=2 color="#0000FF">Try using vspace and hspace in
the img tag.</font></blockquote><br>
The whole idea of what I'm trying to accomplish is to *not show* any
vspace or hspace *if* the monitor res. is set to 600*800, *but* to show
it if the res. is *higher* than that: to float the image. So I sure don't
want to add vspace and hspace *universally*. Now, can I somehow use
wildcards in a frameset? I clearly can't use percentages, as that would
be applied universally and defeat the purpose of what it is I'm trying to
accomplish. Is there a way to tell the browser to proportion in equal
amounts above and below my image, any space beyond 600px of my
image?<br>
TIA,<br>
BenO<br>
<br>
<blockquote type=cite cite>&nbsp;<br>
<font face="arial" size=2 color="#0000FF">&nbsp;--</font><br>
&nbsp;<br>
<font face="arial" size=2 color="#0000FF">Mike Dowden</font><br>
<font face="arial" size=2 color="#0000FF"><a href="http://www.vvonline.com">www.vvonline.com</a></font><br>
<font face="arial" size=2 color="#0000FF">mdowden(at)vvonline.com</font><br>
&nbsp;<br>
&nbsp;<br>
<font face="Times New Roman, Times" size=2>&nbsp;-----Original
Message-----<br>
<b>From:</b> owner-hwg-techniques(at)hwg.org
[<a href="mailto:owner-hwg-techniques(at)hwg.org%5DOn" eudora="autourl">mailto:owner-hwg-techniques(at)hwg.org]</a><a href="mailto:owner-hwg-techniques(at)hwg.org%5DOn" eudora="autourl"><b>On</a>
Behalf Of</b> Ben Ocean<br>
<b>Sent:</b> Friday, August 25, 2000 2:14 PM<br>
<b>To:</b> hwg-techniques(at)hwg.org<br>
<b>Subject:</b> Floating an Image<br>
</font>
<dl>
<dd>Hi;
<dd>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:
<dd>&lt;html&gt;&lt;body&gt;
<dd>&lt;table align=center valign=middle&gt;
<dd>&lt;tr height=*&gt;&lt;/tr&gt;
<dd>&lt;tr height=150&gt;&lt;td&gt;&lt;img
src=&quot;images/colors.gif&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
<dd>&lt;tr height=*&gt;&lt;/tr&gt;
<dd>&lt;/table&gt;&lt;/body&gt;&lt;/html&gt;
<dd>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?
<dd>TIA,
<dd>BenO
</dl></blockquote><br>
</html>

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