cowboyandy Posted November 17, 2011 Report Share Posted November 17, 2011 (edited) Thanks to this forum, I'm getting better at utilizing css...or at least think I am! I redid some of it, then tried validating, and I keep getting this on validation: Value Error : list-style-image Parse Error :(http://www.renttexashillcountry.com/siteimages/smalltxflagnav.jpg'>http://www.renttexashillcountry.com/siteimages/smalltxflagnav.jpg) I know this is something simple, but I just can't figure it out. It's the only error on validation, so I'm happy with that - but sure would like to know how this line in my css is incorrect: list-style-image:(http://www.renttexashillcountry.com/siteimages/smalltxflagnav.jpg); As usual, your help is greatly appreciated - especially by us novices! Have a great day, and God bless! Edited November 17, 2011 by cowboyandy Quote Link to comment Share on other sites More sharing options...
falkencreative Posted November 17, 2011 Report Share Posted November 17, 2011 I believe you are missing the "url" portion: http://www.w3schools.com/cssref/pr_list-style-image.asp For example: ul { list-style-image:url('icon.gif'); } Quote Link to comment Share on other sites More sharing options...
cowboyandy Posted November 17, 2011 Author Report Share Posted November 17, 2011 I believe you are missing the "url" portion: http://www.w3schools.com/cssref/pr_list-style-image.asp For example: ul { list-style-image:url('icon.gif'); } Hey, Ben! I had that originally, but it gave me 3 errors...I'll try it again and see what happens. Quote Link to comment Share on other sites More sharing options...
cowboyandy Posted November 17, 2011 Author Report Share Posted November 17, 2011 I believe you are missing the "url" portion: http://www.w3schools.com/cssref/pr_list-style-image.asp For example: ul { list-style-image:url('icon.gif'); } Yuppers! Here's the change: list-style-image:url (http://www.renttexashillcountry.com/siteimages/smalltxflagnav.jpg'>http://www.renttexashillcountry.com/siteimages/smalltxflagnav.jpg); Now three errors: Value Error : list-style-image url is not a list-style-image value : url Parse Error (http://www.renttexashillcountry.com/siteimages/smalltxflagnav.jpg); Parse Error [:#000000; vertical-align:middle; text-align:left; } /*--content--*/ #propdetails] Have no idea why this one appears with the above change! Any ideas? Quote Link to comment Share on other sites More sharing options...
falkencreative Posted November 17, 2011 Report Share Posted November 17, 2011 There can't be a space between "url" and the opening "(". Quote Link to comment Share on other sites More sharing options...
cowboyandy Posted November 17, 2011 Author Report Share Posted November 17, 2011 There can't be a space between "url" and the opening "(". I knew it had to be something simple...why didn't I think of that? Thanks Ben! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.