Re: Lines next to images

by "rudy limeback" <r937(at)interlog.com>

 Date:  Mon, 22 May 2000 14:56:38 -0400
 To:  <hwg-techniques(at)hwg.org>
  todo: View Thread, Original
>...  make sure that your <td> and </TD> are on one line..

dear steve (mr wizard)

this advice, which is meant to remove the white space that netscrape throws
into table cells that require precise alignment, it is not exactly true

all you have to do is make sure there are no spaces or line feeds *between*
the tags

putting everything on one line works, but it results in lines of source
code that are often quite unwieldy

i find the following technique aesthetically pleasing, as it results in
source html lines that are easy to read and don't require horizontal
scrolling

just put a line feed anywhere there is white space *within* the tag,
including in front of the closing angle bracket

for example

<td valign="top" align="right"
   ><img border="0" src="myimage.gif"
         width="50" height="50"
         hspace="0" vspace="0"
  ></td>

_____________
rudy limeback
http://r937.com/
http://evolt.org/

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