Welcome to WebmasterWorld Guest from

Forum Moderators: incrediBILL

Message Too Old, No Replies

Netscape and extra pixels

7:25 pm on Oct 10, 2000 (gmt 0)

Senior Member

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:May 26, 2000
votes: 0

I've been wrestling with a certain kind of Netscape fluke on several pages for quite some time.

The oddity shows up when I have an image that is sliced up beyond one vertical strip -- and then held together either with table cells or just coded inline using <BR> tags.

Even though many different code configurations will give a perfectly matched up image in MISE, Netscape often insists on adding an extra one pixel gap between the last two horizontal strips.

Sometimes I can fix this by eliminating all hard returns in the code -- seems that Netscape doesn't always ignore returns and can mistake them for a <BR>.

Sometimes I can eliminate the table and just list all the pieces inline with appropriate breaks. And sometimes the reverse needs to happen -- inline pieces show the gap but a table will hold the pieces together without a seam.

And in one case, I can't think of anymore options, so Netscape users get the gap and Explorer users see the seamless image.

Anyone else wrestling with this? Any insights?

7:32 pm on Oct 10, 2000 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:July 11, 2000
votes: 0

Wrestle is the word. I am trying to figure out how I solved it eventually, but I think it had something to do with setting the height of the cell to the height of the image. If that doesn't work, get back here and I will have a look at the site where it happened tomorrow.


7:56 pm on Oct 10, 2000 (gmt 0)

Full Member

10+ Year Member

joined:Sept 21, 2000
votes: 0

What are you using to slice and dice your graphics? Or are they separate graphics that you want to appear as one? We use ImageReady to slice and dice. It creates a table that seems to work very well in both NS and IE. The only way we have been able to take separate graphics and merge them into what appears to be one graphic is to use nested tables with very careful attention to cell spacing and cell padding and borders. I'll check the couple of places we did that and see if there is anything special to the table layout.
1:44 pm on Oct 13, 2000 (gmt 0)

Administrator from US 

WebmasterWorld Administrator brett_tabke is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Sept 21, 1999
votes: 11

Generally, I use tables to build pages with strips of graphics. Usually if you force cellpadding and spacing to zero you can get netscape to line up the graphics.

When in doubt, find a page that has strip graphics and have a look at the source.

Netscape interpts a return as a space except when overriden by code where a space isn't applicable. Quite common among browsers - opera does it too.


Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members