SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Wizard jag5311's Avatar
    Join Date
    Jan 2003
    Location
    Somewhere in Indiana
    Posts
    3,082
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Class Problem. Need some help

    Hey everyone. Well, what I am wanting here is to separate one set of link attributes from another. I have my standard a:link, a:visited a:active, a:hover.

    Well, i created a different class named faq

    it goes a.faq:link, a.faq:visited, etc..

    I have applied them to the page I will give you. Only on the first FAQ question does it have the class="faq" applied to it. It isn't suppose to have a background color on the hover, and it shows in the source code, but that is what it does when you do it. Let me know what I need to do to fix this.

    http://homepages.evansville.edu/bk38/faq.htm

    Thanks
    Bryan

  2. #2
    Sultan of Ping jofa's Avatar
    Join Date
    Mar 2002
    Location
    SvÝ■jˇ­
    Posts
    4,080
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    background: none;
    for all the a.faq classes?

  3. #3
    Non-Member
    Join Date
    Jan 2003
    Posts
    5,748
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Which browser ? Is it IE by any chance - I wonder. LoL - This browser does act strangely whilst Opera, Netscape6+ and Mozilla are all fine. 8)

  4. #4
    SitePoint Wizard jag5311's Avatar
    Join Date
    Jan 2003
    Location
    Somewhere in Indiana
    Posts
    3,082
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Dr Livingston
    Which browser ? Is it IE by any chance - I wonder. LoL - This browser does act strangely whilst Opera, Netscape6+ and Mozilla are all fine. 8)
    Actually, I have fixed it. Instead of having the default pseudo classes, I have applied them as a set of classes. So the menu now has class="menu", and the frequently asked questions are class="faq"


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
  •