CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: Css

  1. #1
    Join Date
    Mar 2000
    Posts
    196

    Css

    Hmm, the problem comes with Netscape 4.77 only. Alle IE's on MAC work fine!
    I already have too css-files, one for PC and one for MAC, but the link tag is already used and therefore fixed.
    Maybe I could overwrite it in another way...???

  2. #2
    Join Date
    Jan 2002
    Location
    Helsinki, Finland
    Posts
    99
    Umm..where's the actual question?
    Zvona - First aid for client-side web design

  3. #3
    Join Date
    Aug 2002
    Location
    Reykjavik, Iceland
    Posts
    201
    If you are using some particular CSS property that works fine in all browsers that you support EXCEPT Netscape 4.77 (Mac or PC?) then just do browser detection and serve a different stylesheet for that particular browser.

    <script language="JavaScript">
    if (navigator.appVersion.indexOf("4.77")!= -1) {
    document.write('<link rel .... >');
    }
    </script>

    Or maybe if you provided more info, it could be possible to make it work...

  4. #4
    Join Date
    Mar 2000
    Posts
    196
    Well, that's the solution! That works fine!
    Thank you very much for your help.

    (sorry I made a new thread in this forum instead of using the first one)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured