Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | Re: The Good Frameset |
| From: | Jason Nugent |
| Date: | Mon, 1 Jun 1998 13:09:06 +0100 |
Hello Andrew,
What you are describing is typical with Netscape. You don't
actually describe your problem so I am going to assume it is one of the
more common ones with the browser and images broken up into smaller ones
- the pieces line up but have small spaces between them, so they aren't
quite touching?
The problem with this is occurs when you place your image
fragments side by side in tables. Netscape interprets a carriage return
as a single space so if your format your code nicely by inserting
carriage returns, the extra return translates into a space between the
table cells. For example:
<TR>
<TD>
<IMG SRC="image1.gif" HEIGHT="10" WIDTH="10" ALT="one">
<IMG SRC="image2.gif" HEIGHT="10" WIDTH="10" ALT="two">
</TD>
</TR>
That code fragment will place a carriage return after the first
image, since there is a carriage return after the first image. The
solution is place them immediately following each other:
<TR>
<TD><IMG SRC="image1.gif" ..... ><IMG SRC="image2.gif"..... ></TD>
</TR>
with no spaces/carriage returns before and after the IMG tags in each case.
This situation most often arises when people use an editor to
create their HTML code. The editor helps out by formatting it for easy
readability (not necessarily a bad thing), but inserts the spaces shown
above.
This is one of the reasons why I handcode 90% of my stuff :)
Hope that helps,
Jason
On Mon, 1 Jun 1998, Andrew Vester wrote:
> Hello everyone, we have a frameset that looks great in IE but terrible
> in Netscape.
> We have to give exact figures because we have broken an image up into
> top, left, bottom, right and centre pieces with all the frames having a
> separate piece of a picture frame so in order for the picture to make
> sense, the browser has to align everything correctly.
> When a user clicks a button we use Javascript to spawn a new window
> which contains this frameset.
> Has anyone out there got some brilliant HTML that will deliver what we
> want in both NS and IE?
>
> Thanks for your time.
> Cheers
> Andrew
>
> ------------------------------------------------------------------------
> To UNSUBSCRIBE send: unsubscribe flasher in the body of an
> email to list-manager
> N.B. Email address must be the same as the one you used to subscribe.
> For info on digest mode send: info flasher to list-manager
>
---------------------
Jason Nugent, BSc(Hons)
ap958
jason
Certified Webmaster
Visit IRT.org - Internet Related Technologies - http://www.irt.org
Articles on all aspects of internet development, including -
CGI/Perl, JavaScript, dHTML, Java, XML, HTML
********************************************************************
The Best Place for Sport on the net! - Sportscience www.sportsci.org
********************************************************************
------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manager
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manager
Replies
The Good Frameset, Andrew Vester
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

