Previous Message
Next Message

Newcomer to CSS

Sent by Holly Bergevin on 23 September 2005 23:11


From: Nancy Smith [EMAIL-REMOVED]>

>I did my first CSS site, and I am ready to go back to
>tables!!!!  Please look at my site and tell me what I
>did wrong. I feel like such a looser - all that work
>and it the CSS doesn't work.   http://www.wminc.biz
>Any suggestions would be greatly appreciated.

First, your images do not appear to be located anywhere where your HTML page can find them. 

Second, your style sheet is being served as text/plain instead of text/css, which means that Gecko
browsers (at least) will not use the styles. [1]

But I suspect the bigger (third) problem may be that you have the letters HTML stuck into your style
sheet at the very beginning. They are not commented out, they just sit there. This probably prevents
any other browser that might forgive the text/plain from reading/displaying the styles. Only valid
CSS or CSS comments may be in style sheets. 

Validators are your friends... [2][3]

Hope that helps,

~holly

[1]
http://web.archive.org/web/20040715091953/http://devedge.netscape.com/viewsource/2002/incorrect-mime-types/
[2] http://jigsaw.w3.org/css-validator/
[3] http://validator.w3.org/ 
 
                   
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Possibly related: