[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

Spacing differences 'tween IE and NS

Posted on 1999-11-08
2
Medium Priority
?
125 Views
Last Modified: 2013-12-25
http://www.juststeve.com/nsiecompare.htm shows a screen shot. Sorry site's behind firewall so no code but I've turned off borders everywhere and dictated page borders and margins of 0.

IE's 2nd frame (top thin red line) starts 2 px lower than Netscape's.

A bigger problem is tables. - probably cuz of differences in how text/fonts are rendered. Notice how far wider Netscape is.

Are differences of frames and tables -at the pixel level - documented anywhere?
0
Comment
Question by:juststeve
2 Comments
 
LVL 7

Accepted Solution

by:
nettrom earned 200 total points
ID: 2192604
when it comes to frames it's a well-known fact that Netscape doesn't follow sizes down to the pixel.  what size you end up with depends on your monitor's resolution is set to and the size of the browser window.  sad, but it's a well-known bug. :(

so in your example I believe IE is following your definition of the frame size, and Netscape snaps it back a couple of pixels because it thinks that's a smart thing to do.

when it comes to tables there's also some caveats to know about.  it seems to me that you've defined some styles for your table, like font sizes & stuff?  do you use CSS to do that, or is it a whole bunch of FONT?  if it's CSS you should know that Netscape won't understand CSS applied to the TABLE element, you'll instead have to apply it to TD (ref http://developer.netscape.com/support/bugs/index.html?content=known/css.html )

apart from that I couldn't spot anything from the small images you supplied.  if I've totally failed to fix the problem some example code, or maybe a larger image showing the rendering side-by-side in a slightly larger context could probably help.
0
 

Expert Comment

by:ecotect
ID: 4075393
why did I spend 5 points to get a non-answer?
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
There is a wide range of advantages associated with the use of ASP.NET. This is why this programming framework is used to create excellent enterprise-class websites, technologies, and web applications.
The viewer will learn how to count occurrences of each item in an array.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
Suggested Courses
Course of the Month10 days, 20 hours left to enroll

612 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question