homepage Welcome to WebmasterWorld Guest from 54.198.140.148
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderator: open

CSS Forum

    
Need help with .css "parse" errors
any help greatly appreciated!
eboda




msg:1209776
 3:48 am on Oct 28, 2002 (gmt 0)

Greetings,

I have been beating my brains trying to get these errors resolved with my .css. Can anyone help me out here?

Line: 9 Context : P
Parse Error - P.2 { color: #000000; font-weight: normal; font-size: 14px; font-family: arial, verdana, helvetica, sans-serif; background-color: transparent }

*Line: 22 Context : ul
Parse Error - ul.2 { color: #000000; font-weight: normal; font-size: 12px; line-height: 150%; font-family: arial, verdana, helvetica, sans-serif; background-color: transparent; list-style-image: url(http://www.xxxxxxxx.com/directory/images/layout/bullet.gif) }

*Line: 23 Context : ul
Parse Error - ul.3 { color: #000000; font-weight: normal; font-size: 12px; font-family: arial, verdana, helvetica, sans-serif; background-color: transparent; list-style-image: url(http://www.xxxxxxxx.com/directory/images/layout/bullet.gif) }

Thanks much in advance!
eboda

 

bobriggs




msg:1209777
 4:12 am on Oct 28, 2002 (gmt 0)

# in CSS1, selectors (element names, classes and IDs) can contain only the characters A-Z, 0-9, and Unicode characters 161-255, plus dash (-); they cannot start with a dash or a digit; they can also contain escaped characters and any Unicode character as a numeric code (see next item).
# the backslash followed by at most four hexadecimal digits (0..9A..F) stands for the Unicode character with that number.

[w3.org...]

dingman




msg:1209778
 4:13 am on Oct 28, 2002 (gmt 0)

Class names must start with a letter. That should fix you right up.

You can check your CSS for validity using the W3C's validator web site at [jigsaw.w3.org ].

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved