• 0

CSS Differences between IE and Netscape


Question

First, if you have both IE and Netscape (or equivalent) installed on your machine, please look at this page in both browsers http://www.endlessss.com/test/ and you'll see that in IE, the right side looks fairly normal.

The same isn't true when viewed in Netscape (or equivalent).

I am asking any of you out there to look at the .css file (posted below and inside your temp files folder) and the html page to see what I need to change to make it look at least "better" in netscape.

I'm ok at this stuff, but not educated enough to know exactly what to change...

P.S. Ignore the calculator image, I know it's part of the Gant icon pack and I'll be changing it soon.

7 answers to this question

Recommended Posts

  • 0

The latest Netscape, I just downloaded it from their website, I believe it's v.7.1

Should I be instead testing "other browers" with Mozilla, Firefox etc?

I was under the impression that Netscape used the same techniques to render a page as Mozilla, Firefox etc...

  • 0

I just downloaded firefox, and just like netscape, things look all jumbled up in it... I'm a bit confused.

It looks like I forgot to attach the files earlier, here they are. If anyone can take a look at my .css, please let me know if something is wrong...

Thanks!

  • 0

This one is an easy fix - kind of...

The problem is a combination of IE being broken with respect to certain things, and you're using IE as your only test bed while creating the CSS layout. I've had the same problem but going the other way: I design so the page looks good in everything available to me, then I go to check on IE and it's horribly mangled because of some stupid quirk. This particular issue is one I'm familar with:

It's like painting a picture to look clear while you're wearing somebody else's glasses: They'll look fine as long as what you see is being distorted, but anyone who can see clearly will have a blurry/distorted image.

solution

Delete the XML prolog from your HTML file and visit the site in IE. Notice how it looks exactly the same as firefox/safari. This is because IE 6 (and previous versions to IIRC) will drop into a "broken" non-standards compliant render model if it detects an XML prolog - thats a major pain in the butt. If you design the page to look right in IE using broken render mode, then it will look busted every else that is rendering the page correctly. I think she goes back to using the old broken box-model where width:750 makes the box 750 pixels no matter what, the standard says width:750 makes the box 750 + margins + padding + border.

Now that you have IE rendering things correctly, you can fix your CSS to make the page look the way you want it, and then try again in other browsers.

There's no real way to keep the XML prolog and have IE render correctly so the best choice is to just drop it: it's not a required item anyway.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Darwin Mach Kernel/ BSD. Which is both open source.
    • You mean BSD. The UNIX kernel is not open source.
    • I have been on Linux Mint full-time since Jan 2019. while there is a learning curve, it's worth it if you can make the switch, which I can. I mainly browse web, play some games (generally Lutris(Windows games), or through emulators (MAME/Mesen/Flycast etc) etc), and use a small amount of Windows programs (Foobar2000/7-zip/WinRAR/ImgBurn etc) etc. it's nice to dodge the bloat/BS of Windows as you can really feel Linux is all around faster, especially certain things. p.s. recently I enabled NTSync for games since Linux Mint recently offered the 6.14 kernel, which has NTSync support (it's not enabled by default though but you can enable it temporarily for your current boot of the OS through 'sudo modprobe ntsync')
    • A rotten article full of handwaving of anti-consumer practices. Aside from the fact that no, not even close to every piece of major software collects information about its users, ethical developers make such telemetry opt-in and allow it to be completely disabled. To use KDE Plasma as an example, you're shown a greeter upon first boot that gives users the option to send the developers telemetry, with the default being off and 'off' actually meaning off. Windows 10 has never offered that capability - only a promise that Microsoft will slurp up less of your data if you spend time tweaking 50 different privacy settings. There is still absolutely no way to completely opt out of sending Microsoft telemetry in any version of Windows 10 (or 11, naturally). Even using group policy in Enterprise editions only allows you to reduce telemetry to the bare minimum. Home-focused editions don't even get that option. Articles like this dismissing user privacy concerns as "FUD" are a part of the reason Microsoft felt confident enough to go so much further with Windows 11. I guess you get what you deserve in that respect. Personally, I finally made the move to Linux after 15 years or so of dabbling with it, but never really considering a permanent switch. Enjoy your bright, shiny Windows future. You asked for it, after all.
  • Recent Achievements

    • First Post
      smileyhead earned a badge
      First Post
    • One Month Later
      K V earned a badge
      One Month Later
    • Week One Done
      K V earned a badge
      Week One Done
    • Dedicated
      CarlosABC earned a badge
      Dedicated
    • One Month Later
      solidox earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      639
    2. 2
      ATLien_0
      240
    3. 3
      Xenon
      172
    4. 4
      neufuse
      155
    5. 5
      +FloatingFatMan
      122
  • Tell a friend

    Love Neowin? Tell a friend!