Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Apr 2003
    Posts
    4
    Member #
    1027
    Here is the problem:
    The bodyfont and cellfont classes aren't showing up in mozilla. The links for the menu class are being changed to "normal" links after they have been visited, in mozilla in IE it works perfectly. I'm pretty new with using CSS. So if could tell me what I'm doing wrong I would be greatly appreciative.

    Here is the sheet:

    a.menu:link {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-variant: normal;
    color: #363636;
    text-decoration: none;
    };
    A.menu:visited{ font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-variant: normal;
    color: #363636;
    text-decoration: none;
    };
    A.menu:active{ font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-variant: underline;
    color: #363636;
    text-decoration: none;
    };
    A.menu:hover{ font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-variant: underline;
    color: blue;
    text-decoration: underline;
    };
    a.bodylink:link {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: bold;
    font-variant: normal;
    color: #333399;
    text-decoration: underline;
    };
    a.bodylink:visited {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: bold;
    font-variant: normal;
    color: #333399;
    text-decoration: underline;
    };
    a.bodylink:active {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: bold;
    font-variant: normal;
    color: #333399;
    text-decoration: underline;
    };
    a.bodylink:hover {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: bold;
    font-variant: normal;
    color: #333399;
    text-decoration: none;
    };

    .lightfont {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: bolder;
    background-color: #000000;
    color: #FFFFFF;
    };
    .bodyfont {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    };

    .cellfont {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: bold;
    };

  2.  

  3. #2
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,483
    Member #
    425
    Liked
    2783 times
    Are you using them in tables/cell classes or are you using them as font classes? Older versions of Mozilla (e.g. Netscape 4) don't always handle styles defined for block-level elements such as table cells well. What (on the rare occasions I care about the less than 1% who still use Netscape 4) I will do is define the classes inside of an inline element such as a FONT tag. You're not doing anything wrong per se; it's just that each browser looks at CSS differently.

    Your semi-colons aren't necessary after the } brackets as well.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  4. #3
    Junior Member
    Join Date
    Apr 2003
    Posts
    4
    Member #
    1027
    Thanks for the help. It was the semi-colons that was messing it up. I took them out, and the classes worked like a charm in mozilla.

  5. #4
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    Yeah, no semicolons at the end of the style. Mozilla's more of a stickler about things like that.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 05:02 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com