homepage Welcome to WebmasterWorld Guest from 50.19.206.49
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
Netscape and extra pixels
tedster




msg:593685
 7:25 pm on Oct 10, 2000 (gmt 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?

 

rencke




msg:593686
 7:32 pm on Oct 10, 2000 (gmt 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.

mnw




msg:593687
 7:56 pm on Oct 10, 2000 (gmt 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.

Brett_Tabke




msg:593688
 1:44 pm on Oct 13, 2000 (gmt 0)

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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved