IE and NS with CSS

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • daniel

    IE and NS with CSS

    I am sure that this has been asked before but I still don't have an
    answer.
    Is there a way to use seperate stylesheets one for IE and one for NS?
    When I log into my site with NS the CSS looks different than with IE.
    if I change it then it will look bad with IE.
    Thanks for any help.
    Daniel

  • C A Upsdell

    #2
    Re: IE and NS with CSS

    daniel wrote:[color=blue]
    > I am sure that this has been asked before but I still don't have an
    > answer.
    > Is there a way to use seperate stylesheets one for IE and one for NS?
    > When I log into my site with NS the CSS looks different than with IE.
    > if I change it then it will look bad with IE.
    > Thanks for any help.[/color]

    I assume that when you say NS, you mean Netscape 7.

    The first point you should note is that Netscape 7 uses Mozilla's
    browser engine, which generally complies with standards better than IE,
    hence if Netscape and IE produce very different results, there is a good
    chance that Netscape is doing it right, and IE is doing it wrong.

    The second point is that there are two versions of Netscape 7 in common
    use today: 7.1 and 7.2. The former uses a much older version of
    Mozilla's browser engine, and has bugs (and security issues) that were
    fixed in 7.2. This can result in rendering problems in 7.1 that don't
    appear with 7.2.

    The third point is that both Netscape 7 and IE6 will comply better with
    the standards -- and therefore render pages more similarly -- if you use
    a DOCTYPE that triggers standards mode.

    Finally, I would suggest that you design pages to the standards, testing
    initially with Opera and Netscape 7.2 (or Mozilla, or Firefox), and then
    find out what tweaks you have to make to get around IE's defects. In
    most cases if you design pages to the standards rather than depending on
    idiosyncracies of IE, it is possible -- and not at all hard -- to add
    tweaks that do NOT require separate stylesheets.

    Comment

    • Stan Brown

      #3
      Re: IE and NS with CSS

      "daniel" wrote in comp.infosystem s.www.authoring.stylesheets:[color=blue]
      >I am sure that this has been asked before but I still don't have an
      >answer.[/color]

      If only there were some sort of archive of past newsgroup articles.
      :-)
      [color=blue]
      >Is there a way to use seperate stylesheets one for IE and one for NS?[/color]

      Yes, but you don't want to.


      --

      Stan Brown, Oak Road Systems, Tompkins County, New York, USA
      Dragon222 adalah situs slot gacor terbaru yang selalu memberikan banyak bonus menarik dan kemenangan JP untuk pemain setia selama bermain di link slot DRAGON222.

      Comment

      • daniel

        #4
        Re: IE and NS with CSS

        I am using NS 7 and everything is working.
        My problem is simple. I have a banner along the top of the page. I used
        "top: 0%" which is fine on IE but on NS it pushes the banner a few
        pixels down. To change it I can do "top: -4%" but then on IE the top of
        the banner will go of the screen.
        Designing with NS and then tweaking in IE is not necessary because
        apart from the banner everything works OK and doesn't seem to move.
        Obviously there is a simple solution becuase you don't see other sites
        with the same problem.
        Thanks
        Daniel

        Comment

        • Beauregard T. Shagnasty

          #5
          Re: IE and NS with CSS

          daniel wrote:[color=blue]
          > I am using NS 7 and everything is working. My problem is simple. I
          > have a banner along the top of the page. I used "top: 0%" which is
          > fine on IE but on NS it pushes the banner a few pixels down. To
          > change it I can do "top: -4%" but then on IE the top of the banner
          > will go of the screen.[/color]

          body, #banner { margin: 0; padding: 0; }

          No "top" should be necessary. Make sure you have a proper DOCTYPE, and
          use a Strict one for new pages.


          <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
          "http://www.w3.org/TR/html4/strict.dtd">
          [color=blue]
          > Designing with NS and then tweaking in IE is not necessary because
          > apart from the banner everything works OK and doesn't seem to move.
          > Obviously there is a simple solution becuase you don't see other
          > sites with the same problem. Thanks Daniel[/color]

          Test your pages in Firefox and Opera, then in IE. Next time, post a
          URL to your page.

          --
          -bts
          -This space intentionally left blank.

          Comment

          Working...