Problem with css

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Cainnech
    New Member
    • Nov 2007
    • 132

    Problem with css

    Hi,

    I'm having a problem with a piece of css on a page I'm making.

    If you click anywhere on the page, all my text becomes bold. If you click on the text in my blogsection, the text becomes bold and bigger.

    Does anybody know why this happens and xhat I could do about it?

    The page is on http://www.lookandlist en.be/tab/demo.htm and the css is on http://www.lookandlist en.be/tab/elements/site.css

    Thanks!
    Cainnech
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    Firstly, try sorting these errors out. I've not looked properly, but there's mention of tag mismatches.

    Comment

    • Cainnech
      New Member
      • Nov 2007
      • 132

      #3
      Yeah I didn't validate it yet but it had nothing to do with the error I'm getting.
      It has something to do with the XHTML Strict.

      But I've made the corrections already. And I also got the IE code out because otherwise I'll get remarks on that as well.

      Comment

      • drhowarddrfine
        Recognized Expert Expert
        • Sep 2006
        • 7434

        #4
        It's because a:link is set to one thing and :visited and :active are set but to not to the a element.

        Comment

        • Cainnech
          New Member
          • Nov 2007
          • 132

          #5
          Ah, yes, that was it
          I did a copy/paste and appearantly didn't take the a with it.

          Stupid mistake!

          Thanks drhowarddrfine!

          Comment

          Working...