Just shows my CSS code

Discussion in 'CSS' started by immortality, Mar 10, 2008.

  1. #1
    When I view my site in FF it is perfectly fine. Then when I look at it in IE it just shows all of my CSS instead of the site. When I take out the CSS it just shows blank white page and not my text or graphics. Why is it doing this?

    PM me and ill send you the link to the site.
     
    immortality, Mar 10, 2008 IP
  2. Stomme poes

    Stomme poes Peon

    Messages:
    3,195
    Likes Received:
    136
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Did you close your <head> tag?
     
    Stomme poes, Mar 11, 2008 IP
  3. amazingronit

    amazingronit Well-Known Member

    Messages:
    1,334
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    130
    #3
    You better upload it to a temporary location and give us the link. it'll be solved within seconds !!!
     
    amazingronit, Mar 11, 2008 IP
  4. immortality

    immortality Peon

    Messages:
    1,512
    Likes Received:
    50
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I forgot the last closing > but I got that fixed and the CSS isnt showing anymore.

    I still have the problem of it just showing a blank page when I view it in IE.
     
    immortality, Mar 11, 2008 IP
  5. chapicha

    chapicha Peon

    Messages:
    235
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I have no idea becuase I dont see the source code. you should upload to server and tell link to us.
     
    chapicha, Mar 11, 2008 IP
  6. immortality

    immortality Peon

    Messages:
    1,512
    Likes Received:
    50
    Best Answers:
    0
    Trophy Points:
    0
    #6
    http://------.com
     
    immortality, Mar 11, 2008 IP
  7. chapicha

    chapicha Peon

    Messages:
    235
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #7
    you have no close tage </title> ( you have only open tag <title>)

    your first line should add open tag <html>

    ps : I found your page redirect to
    http://showfosho.com/error/
    Code (markup):
     
    chapicha, Mar 11, 2008 IP
    honeydesign likes this.
  8. chapicha

    chapicha Peon

    Messages:
    235
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #8
    in additional
    I found error on css color value, "000000" is not color value but "#000000" is color value , you must enter prefix "#"
    to all color value.
     
    chapicha, Mar 11, 2008 IP
  9. chapicha

    chapicha Peon

    Messages:
    235
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #9
    "none" is not value for cursor.
     
    chapicha, Mar 11, 2008 IP
  10. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #10
    You cannot expect any consistent rendering when your markup and css are invalid. Using valid html and css is basic. Until you correct your syntax errors, it is a waste of time to attempt debugging.

    See:

    html validator

    css validator

    cheers,

    gary
     
    kk5st, Mar 11, 2008 IP
  11. immortality

    immortality Peon

    Messages:
    1,512
    Likes Received:
    50
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Ok its working now, thanks. I just didnt expect that because it worked fine in FF.

    I am aware of that and I just went through it fast because I dont need it to change anything.


    Thanks for your help.
     
    immortality, Mar 11, 2008 IP
  12. Stomme poes

    Stomme poes Peon

    Messages:
    3,195
    Likes Received:
    136
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Basically you can never rely on a browser to tell you if your code is good. Firefox should get a whippin' for correctly showing your page with what the validator would consider an unclosed head (no title or unclosed title makes validator think there's no closed head). Browsers try to guess what you mean instead of giving the error we all wish they would. So it might look like everything's cool and then some other browser obeys a rule and the site looks like crapola. Safari and Opera often do this for me (before I send a changed site back to the validato), while FF and IE often let a lot of crap go.
     
    Stomme poes, Mar 12, 2008 IP