Style sheet doesn't work correclty... but...

Discussion in 'CSS' started by Some Guy You Know, Sep 6, 2006.

  1. #1
    T's ok, i kinda fixed it, the real problem is 'the first thing on my style sheet, doesn't get any style'
     
    Some Guy You Know, Sep 6, 2006 IP
  2. abcdefGARY

    abcdefGARY Well-Known Member

    Messages:
    665
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    110
    #2
    did you forget to add class="bar" for your image tag?

    or also it could be that the stylesheet reference location is wrong. if it's in a folder previous from the actual location of the html file, you need to put "../stylesheet.css"
     
    abcdefGARY, Sep 6, 2006 IP
  3. Some Guy You Know

    Some Guy You Know Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    No all is right, like i said, if i put the style code into the html file instead of the reference the img works, if not, only the div works

    guess nobody knows...

    WIAT!! I fixed it!

    Well actually its still broken, i just worked around it, t'would seem that the fist thing in the style sheet doesn't get done, in this case img.bar

    I just added
    
    li.blankedness{
    font: xx-large;
    }
    
    Code (markup):
    to the top of the style sheet, now everything works. But still...
     
    Some Guy You Know, Sep 6, 2006 IP
  4. Gordaen

    Gordaen Peon

    Messages:
    277
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #4
    What browser were you using?
     
    Gordaen, Sep 6, 2006 IP
  5. Some Guy You Know

    Some Guy You Know Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Some Guy You Know, Sep 6, 2006 IP