www.webdeveloper.com
Results 1 to 6 of 6

Thread: ccs and netscape

  1. #1
    Join Date
    Dec 2002
    Posts
    29

    ccs and netscape

    I am curious as to why netscape 7 does not register the colors i have entered in my styles file.
    This is what i have in my ccs file:

    p {font: normal 8pt/10pt "Verdana","Arial"}
    P.heading_white{font: normal 18pt "Verdana", "Arial"; color:"#FFFFFF"}

    however when i call <P class='heading_white'> all parameters are correct except for the color. It still remains black.
    This also happens with the links i have set.
    All works well in IE 5, but not in NN7.
    I would appreciate any comments.

  2. #2
    Join Date
    Nov 2002
    Posts
    984

    Re: ccs and netscape

    Originally posted by Count_Rugen
    [B]I am curious as to why netscape 7 does not register the colors i have entered in my styles file.
    It's becuse your code is wrong.

    color:"#FFFFFF"
    should be
    color:#FFFFFF
    or
    color:#FFF

    BTW, you should always end your list of fonts with a general family type.
    In case of Arial you probably want to use "sans-serif"

    Also, NEVER use pt on a webpage intended for the monitor.
    Points are only meaningfull eg printed on paper. The size of a point varies quite much from system to system, especially cross OS. Use px or % instead.
    Last edited by Stefan; 12-02-2002 at 08:50 PM.
    // Stefan Huszics

  3. #3
    Join Date
    Dec 2002
    Posts
    29
    perhaps you could help me with one more thing...
    The text size set in <STYLE> does not have any influence in IE 5 on the mac. Consequently, the text in IE5 on the mac is much larger than NN7 on the mac, or IE5 or NN7 on the PC.
    Can you help me with this?

  4. #4
    Join Date
    Nov 2002
    Posts
    984
    Originally posted by Count_Rugen
    The text size set in <STYLE> does not have any influence in IE 5 on the mac. [/B]
    An URL to the site perhaps?
    // Stefan Huszics

  5. #5
    Join Date
    Dec 2002
    Posts
    29
    sorry, the site isnt hosted yet.

  6. #6
    Join Date
    Dec 2002
    Location
    US
    Posts
    128
    Maybe you can post your code. Without us looking at it, how do you exactly want us to help you?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles