main
side
curve
  1. In Memory of LAJ_FETT: Please share your remembrances and condolences HERE

CSS Scrollbars & Hover Links?

Discussion in 'Archive: Fan Sites' started by AERYN_SUN, Jan 19, 2005.

Thread Status:
Not open for further replies.
  1. AERYN_SUN

    AERYN_SUN Jedi Knight star 5

    Registered:
    Apr 1, 2001
    I want to combine my scrollbar CSS and hover links, but when I load my page in my Mozilla browser, the whole page came out black (including the text). I want the background to be black and the links and text to be a peach color.

    Below is the CSS I have, and I can't figure what's wrong. It could be just a browser problem but I would like if there weren't any problems in both IE and in Mozilla.

    --

    body
    {
    font-family: "Arial Narrow";
    color: #FFCCCC;
    font-size: 14;
    background: #000000;
    scrollbar-base-color:#FECEFF;
    scrollbar-face-color:#FECEFF;
    scrollbar-arrow-color:#000000;
    scrollbar-3dlight-color:#944074;
    scrollbar-track-color:#944074;
    scrollbar-shadow-color:#000000;
    scrollbar-darkshadow-color:#FECEFF;
    scrollbar-highlight-color:#E5FFFC;
    h2 {font-family: arial narrow;
    color: #FFCCCC;
    }
    h2 {
    font-family: arial narrow;
    }

    A:link {
    text-decoration: none;
    color: #FFCCCC;
    font-family: "Arial Narrow";
    }

    A:visited {
    text-decoration: underline overline;
    color: #FFCCCC;
    font-family: "Arial Narrow";
    }

    A:hover {
    text-decoration: underline overline;
    color: #FFCCCC;
    font-family: "Arial Narrow";
    }
     
  2. Grimby

    Grimby Technical Consultant & Former Head Admin star 7 Staff Member Administrator

    Registered:
    Apr 22, 2000
    Try changing your "A:"'s to "a:"

    I don't know for sure if those are case sensetive, but it would explain why your styles aren't working.

    Also, it really isn't necessary to decalare anything as "normal" or "none" unless another style above it has specified something different, as these are usually their default values.
     
  3. AERYN_SUN

    AERYN_SUN Jedi Knight star 5

    Registered:
    Apr 1, 2001
    I cannot figure out why but nothing has changed. My page Index is supposed to have a black background and peach colored text.
     
  4. Grimby

    Grimby Technical Consultant & Former Head Admin star 7 Staff Member Administrator

    Registered:
    Apr 22, 2000
    The style sheet you're referencing to (http://dreams-nonsense/fated/pitas.css) doesn't seem to exist. An incorrect url maybe?
     
  5. AERYN_SUN

    AERYN_SUN Jedi Knight star 5

    Registered:
    Apr 1, 2001
    I fixed the path of the css. What about now?
    New Index

    ~aeryn
     
  6. Grimby

    Grimby Technical Consultant & Former Head Admin star 7 Staff Member Administrator

    Registered:
    Apr 22, 2000
    Ah! Your body style doesn't have a closing "}" bracket. It looks like you have h2 in there twice also.
     
  7. AERYN_SUN

    AERYN_SUN Jedi Knight star 5

    Registered:
    Apr 1, 2001
    I finally got it! Everything's working now as it should!

    ~aeryn
     
Thread Status:
Not open for further replies.