SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Member
    Join Date
    Jan 2001
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello.

    After reading and reading the threads I decide to make the site for Netscape.

    But what functions on the IE not always works fine on NC. (I'm working with IE5 and NC4.75)

    First Problem:

    I've a dropdown menu in which I defined the font with CSS. But the color is Black on NC.

    Here is the code:

    --------------The DropDown Menu:

    <form name="revistas" method="post" action="">
    <select name="edicoes" onChange="jumpMenu('parent',this,1) "class="popmenus" >
    <option selected>[ B&iacute;blias Antigas ]</option>
    <option>Select</option>
    <option>one</option>
    <option>two</option>
    <option>three</option>
    <option>four</option>

    </select>
    </form>

    -----------------The Cascading Style Sheet:

    <style type="text/css">

    .popmenus
    {
    font-family: Arial, Verdana, Helvetica; font-size: 11px;
    color: #003399;
    text-decoration: none;
    font-style: normal;
    text-align: center
    }

    </style>


    The Second Problem:

    The same CSS shows different font sizes on IE and NC. Bigger on IE than on NC; but I defined it with the same size.


    Third Problem (and the last one):

    I think there is way to make different CSS to each browser -external CSS, but I've read here that NC doesn't support external CSS. To be true I'ven't tried this.

    Thank you all.



  2. #2
    SitePoint Wizard westmich's Avatar
    Join Date
    Mar 2000
    Location
    Muskegon, MI
    Posts
    2,328
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Text size is interrupted differently with Netscape (NS). The best bet is to find a size that looks decent on both.

    Iím not sure why the background color is black. Did you try different colors? Perhaps someone will have a better answer on that one.

    Regarding your third problem, how are you linking to your style sheet?

    One more thing before you pull all of your hair out. NS4.x makes up around 10% of the browser market and shrinking. IMHO, I would still build my sites to work in NS4.x, but not worry too much on the ascetics.
    Westmich
    Smart Web Solutions for Smart Clients
    http://www.mindscapecreative.com

  3. #3
    The Hiding One lynlimz's Avatar
    Join Date
    Jul 2000
    Location
    Singapore
    Posts
    2,103
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    NS Works with External style sheets.

    You need to make sure the design supports Mozilla too, or Netscape 6. But it should work if it works with IE5 =)

    For the Menus,

    I've tested it for sometime and I had a conclusion that Netscape 4 doesn't support it.
    However, with your current code, it works well with IE5.5 and Mozilla, or the bloated Netscpae 6

    If you want the same font sizes...try 10 pt.
    Looks the same in IE 5.5, Mozilla, and Netscape 4.

    Just styles for menus are a shortocming of netscpae4. But fret not, its hardly noticeable. =)
    <Edited by lynlimz on 01-23-2001 at 12:41 AM>
    "Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world."
    -- Albert Einstein

  4. #4
    SitePoint Member
    Join Date
    Jan 2001
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you.

    About the popmenus I didn't explain well. I define the color of the font as Blue, and the color on NC is Black.
    I'm going to make different css for the two browser. I've to make something to detect the browser and then it uses the right CSS.

    Thank you again.

  5. #5
    The Hiding One lynlimz's Avatar
    Join Date
    Jul 2000
    Location
    Singapore
    Posts
    2,103
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well..you ddn't said you need help,..But here's just the script to detect..that I use on my site.

    <script type="text/javascript">
    <!--
    var NAV=navigator;
    if ( (NAV.appName == 'Netscape') && (parseInt(NAV.appVersion) <= 4) ) {
    document.write('<link rel="stylesheet" type="text/css" href="ns.css">')
    }
    else {
    document.write('<link rel="stylesheet" type="text/css" href="style.css">')
    }
    //-->
    </script>
    "Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world."
    -- Albert Einstein


Bookmarks

Posting Permissions

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