Re: Ideas?

by "Cyanide _7" <leo7278(at)hotmail.com>

 Date:  Fri, 11 Feb 2000 18:33:30 CST
 To:  mheliker(at)ncrel.org
 Cc:  Fred_Kuhne(at)vonrollisola-usa.com, hwg-languages(at)hwg.org
  todo: View Thread, Original
its not a matter of putting them all on one line, but eliminating all spaces 
between the tags. Netscape renders only the first white space between 
content and HTML tags that include content. therefore spaces inside the td 
tag are rendered (thats the one pixel you see) but space between tr and td 
are not. i usually take the ending "greater than" sign of a tag and move it 
to the next line, or separate a tag at attributes. keeps the HTML formatting 
nice looking as well as the final product. also, it may be easier to take 
the CENTER tags out and use the align attribute of the TD tag in this case:

<TD width=600 colspan=6 align="center"
  ><IMG src="graphics/image_header.gif" alt="Von Roll Isola"
  width=300 height=40 border=0
></TD>

this effectively eliminates all whitespace in the TD tag. - Cyanide_7


>When I am putting images together with tables I make sure that the </TD> 
>tag
>is on the same line with the image with no spaces.
>
>I took the following from your code:
>
>
>
>I would write it like so:(all on one line, or so the </TD> is NOT on a new
>line.)
>
>
>         <TD width=600 colspan=6><CENTER><IMG 
>src="graphics/image_header.gif"
>alt="Von Roll Isola" width=300 height=40 border=0></CENTER></TD>
>
>If the </TD> tag is on the next line, I find that NN will put a one or two
>pixel space after the image and it will never be flush together. I move the
>tag to the end of the line and it works great. It shouldn't matter, but it
>does.
>
>HTH,
>
>michael
>
>
> > From: "Fred Kuhne" <Fred_Kuhne(at)vonrollisola-usa.com>
> > Date: Fri, 11 Feb 2000 15:55:33 -0500
> > To: hwg-languages(at)hwg.org
> > Subject: Ideas?
> >
> >
> >
> > Please take a look at
> > http://www.menzo.com/vri/index.shtml
> >
> > Can you tell me why the menu at the left displays differently in 
>Microsoft and
> > Netscape?  Netscape is inserting an inappropriate space of approximately 
>1
> > pixel
> > above and to the left of the menu..
> >
> > Thanks!
> >
> > Fred Kuhne
> >
>

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

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