[thelist] Image Alignment in Netscape

Bruce Heerssen bheerssen at iecommerce.net
Mon Nov 13 11:03:51 CST 2000


here's another tip, as found in previous posts

Include a comment where you want to eliminate line breaks in your code. For
instance:

<img ...><!--
 --></td>

This effectively "comments out" the line break in your source code, allowing
for proper alignment of elements in netscape. This works for all elements
where line-breaks in the source code affect rendering in the browser.


"Michele Wandrei" <michele at inthree.com> wrote in message
news:00a101c04d8f$ecbac8a0$11330d18 at roalok1.mi.home.com...
> To get rid of the extra white space between cells, eliminate the
> hard line break before the </td> in your code.  Keep everything
> between <td> and </td> on the same line in the code.  It sounds
> crazy, but it works.  I have at times had to keep everything
> between <tr> and </tr> on one line to get rid of the spaces.
> ___________________________________________________
> Michele Wandrei
> inThree Design
> www.inthree.com
>
>
>
> ----- Original Message -----
> From: <Gregory.John.Toland at census.gov>
> To: <thelist at lists.evolt.org>
> Cc: <Gregory.John.Toland at census.gov>
> Sent: Monday, November 13, 2000 11:18 AM
> Subject: [thelist] Image Alignment in Netscape
>
>
> >
> >
> > I have the following code.  Can someone please tell me how to
> get the top and
> > bottom images to align next to each other.  In IE 5.01 SP1 it
> looks great.
> > However, in Netscape 4.7 there is a white line in between the
> images.  How do I
> > get the images to "bump" up to each other?  I have tried many
> different ways of
> > using the align= attribute.  Please help!!!  Any help would be
> great!  :)  Greg
> >
> >
> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
> >           "http://www.w3.org/TR/REC-html40/loose.dtd">
> >
> > <html>
> >
> > <head>
> >    <title>Home Page</title>
> > </head>
> >
> > <body>
> >    <table width="767" border="0" cellpadding="0"
> cellspacing="0">
> >       <tr>
> >          <td width="767" height="23" colspan="2">
> >             <img border="0" height="23"
> src="file:///D:\Temp\USCensus.jpg"
> >                  width="767" align="absbottom">
> >          </td>
> >       </tr>
> >       <tr>
> >          <td width="134" height="116">
> >             <img border="0" height="116"
> src="file:///D:\Temp\HeadingLeft.jpg"
> >                  width="134">
> >          </td>
> >          <td width="633" height="116">
> >             <img border="0" height="116"
> src="file:///D:\Temp\HeadingRight.jpg"
> >                  width="633">
> >          </td>
> >       </tr>
> >    </table>
> > </body>
> >
> > </html>
> >
> >
> >
> > ---------------------------------------
> > For unsubscribe and other options, including
> > the Tip Harvester and archive of TheList go to:
> > http://lists.evolt.org Workers of the Web, evolt !
> >
>
>
> ---------------------------------------
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt !






More information about the thelist mailing list