2 replies [Last post]
mochaberry
mochaberry's picture
User offline. Last seen 2 years 25 weeks ago. Offline
newbie
Timezone: GMT-5
Joined: 2007-11-06
Posts: 8
Points: 0

Helping out a friend with some code and a few issues have come up during validation that don't make sense to me... any help would be fantastic! Thanks!

<a href="http://www.trendshop.ca/themes/trendshop/css/trendshop.css" rel="nofollow">http://www.trendshop.ca/themes/trendshop/css/trendshop.css</a>
returns errors:

398 #mainCmsColumn Parse Error * min-height: 500px;
405 Parse Error : 500px !important; border-left: 1px solid #BBB; background: #EEE; margin-left: 5px; } #MainColumn
557 #subcategories li:hover img Parse Error opacity=100)
558 #subcategories li:hover img Property opacity doesn't exist in CSS level 2.1 but exists in [css3] : 1
559 #subcategories li:hover img Property -moz-opacity doesn't exist : 1
563 #subcategories li img Parse Error opacity=60)
564 #subcategories li img Property opacity doesn't exist in CSS level 2.1 but exists in [css3] : 0.6
565 #subcategories li img Property -moz-opacity doesn't exist : 0.6
569 #subcategories li a:hover img Parse Error opacity=100)
570 #subcategories li a:hover img Property opacity doesn't exist in CSS level 2.1 but exists in [css3] : 1
571 #subcategories li a:hover img Property -moz-opacity doesn't exist : 1
3772 .confirmation Value Error : color forestgreen is not a color value : forestgreen
3774 Parse Error };

Hugo
Hugo's picture
User offline. Last seen 8 hours 10 min ago. Offline
rank Moderator
Moderator
Joined: 2004-06-06
Posts: 15095
Points: 2190

Without wishing to sound

Without wishing to sound unhelpful Smile there are rather self explanatory, in fact explicitly explained!

Read the reason given for the error, then decide what level of CSS you want to validate to.

I would check up on the use of opacity as to use it effectively you will need various property statements to suit older browsers, there is a mixture of proprietary properties and vendor specific extensions such as the developer testing -moz prefix.

A note about CSS validation: it is far less critical than markup validation, CSS has error handling, and many errors notified are really warnings and need to be interpreted as to their importance.

Google some guides on opacity but here's one to start with:
http://www.quirksmode.org/css/opacity.html

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

mochaberry
mochaberry's picture
User offline. Last seen 2 years 25 weeks ago. Offline
newbie
Timezone: GMT-5
Joined: 2007-11-06
Posts: 8
Points: 0

thank you, i just got a lil

thank you, i just got a lil overwhelmed there for a second! i really needed the info about opacity! Thanks!