Re: Tables, no white space

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

 Date:  Tue, 18 Jan 2000 22:22:38 -0500
 To:  <hwg-techniques(at)mail.hwg.org>
  todo: View Thread, Original


> You can get around the need to run everything in the
> td tag together by placing line breaks WITHIN the img tags:

right on, chuck, in fact, what i do in "tight" tables is put the closing
angle bracket on a new line so that it maintains a neat and readable
structure, albeit a wacky one...

  <td
  ><img src="blah1.gif" border="0" height="20" width="30"
  ><img src="blah2.gif" border="0" height="30" width="40"
  ><img src="blah3.gif" border="0" height="40" width="50"
  ><img src="blah4.gif" border="0" height="50" width="60"
  ></td>

not the best example, but you get the idea

also, this way you can easily add stuff to tags, stick stuff in between the
lines, do all kinds of code changes...

  <td width="300" align=left
  ><img src="blah1.gif" border="0" height="20" width="30"
             vspace=0 hspace=0
  ><img src="blah2.gif" border="0" height="30" width="40"
  ><img src="blah3.gif" border="0" height="40" width="50"
  ><img src="blah4.gif" border="0" height="50" width="60"
  ></td>

... and not have to worry about messing it up or making it too hard to read

just don't feed it to one of those wysiwyg code beautifiers, though ;o)

___________________
rudy limeback
http://www.interlog.com/~r937/
http://evolt.org/

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