SitePoint Sponsor

User Tag List

Results 1 to 6 of 6

Hybrid View

  1. #1
    ********* Scotland Saltire's Avatar
    Join Date
    Jan 2000
    Location
    Scotland
    Posts
    660
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Every time I try to use the following Style Sheet in DW3 the links on my menu bar, which should ALWAYS be white turn the blue that the content links also are be! I've checked it over and am stumped as to why it won't work. And it's got nothing to do with the colours that I've specified for my links i.e. alink="#FFFFF".... because I removed them and it still didn't work and it's not because I haven't specified the class in my HTML document because I have! Anyone help?

    .menu {font-family: Arial, Helvetica, sans-serif; font-size: 7pt; }
    A.menu:link {text-decoration: underline; color: "#FFFFFF";}
    .content {font-family: Arial, Helvetica, sans-serif; font-size: 10pt}
    A.content:link {text-decoration: underline; color: "#0000FF";}
    A.content:visited {text-decoration: underline; color: "#990099";}
    A.content:active {text-decoration: underline; color: "#CC0000";}


    ------------------
    Methven Online - www.methven.org.uk
    Subtle Measures - www.subtle-measures.co.uk
    Scotjokes - www.scotjokes.co.uk (Coming Soon!)

  2. #2
    Your Lord and Master, Foamy gold trophy Hierophant's Avatar
    Join Date
    Aug 1999
    Location
    Lancaster, Ca. USA
    Posts
    12,305
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I have found there is a bug in Internet Explorer that doesn't cascade styles to links. You have to specifically specify the class within the link tag itself instead of a surrounding tag like a paragraph of DIV.

    ------------------
    Wayne Luke - Sitepoint Moderator/Internet Media Developer
    Digital Magician Studios - Making Magic with Web Applications
    wluke@digitalmagician.com

  3. #3
    SitePoint Addict
    Join Date
    May 2000
    Posts
    229
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    are there any good tutorials on CSS out there?

    im still very fuzzy on it...

    Like i didnt realize i could define several types of "A" tags...

  4. #4
    SitePoint Wizard TWTCommish's Avatar
    Join Date
    Aug 1999
    Location
    Pittsburgh, PA, USA
    Posts
    3,910
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    jizbot,

    Try http://www.echodev.com - there's is pretty good.



    ------------------
    Chris Bowyer
    MyCoding.com: Under Construction!
    "I'm not an insomniac, I'm a web designer."

  5. #5
    SitePoint Member
    Join Date
    Jun 2000
    Location
    Minneapolis, MN, USA
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote/font><HR>Originally posted by Saltire:
    Every time I try to use the following Style Sheet in DW3 the links on my menu bar, which should ALWAYS be white turn the blue that the content links also are be!<HR></BLOCKQUOTE>

    Be sure you're putting the CLASS attributes in the A tag itself and not in SPAN tags outside of it. If the CLASS is not specified within the A tag then the default A values will override the specific class. Also specify ACTIVE and VISITED values for the special class (.menu) or the default values will override.



    [This message has been edited by room34 (edited June 06, 2000).]

  6. #6
    Your Lord and Master, Foamy gold trophy Hierophant's Avatar
    Join Date
    Aug 1999
    Location
    Lancaster, Ca. USA
    Posts
    12,305
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Check out Style Sheets at Webreview.coom

    ------------------
    Wayne Luke - Sitepoint Moderator/Internet Media Developer
    Digital Magician Studios - Making Magic with Web Applications
    wluke@digitalmagician.com


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
  •