Killersites Community: Can't figure out the parse error - Killersites Community

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Can't figure out the parse error one error on validation - can't figure it out

#1 User is offline   cowboyandy 

  • PipPip
  • View blog
  • Group: Member
  • Posts: 25
  • Joined: 22-November 10
  • LocationWimberley, TX

Posted 17 November 2011 - 03:35 PM

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.renttexas...ltxflagnav.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.renttexas...txflagnav.jpg);

As usual, your help is greatly appreciated - especially by us novices!

Have a great day, and God bless!

This post has been edited by cowboyandy: 17 November 2011 - 03:53 PM

The Ole Cowboy
Gittin' Older, But Not Agin'!
The Ole Cowboy - was hacked, haven't reuploaded yet
0

#2 User is offline   Ben 

  • View blog
  • Group: Administrators
  • Posts: 5,409
  • Joined: 19-December 08
  • LocationChico, CA

Posted 17 November 2011 - 04:05 PM

I believe you are missing the "url" portion: http://www.w3schools...style-image.asp

For example:

ul
{
list-style-image:url('icon.gif');
}
Benjamin Falk | Falken Creative : Twitter : KillerSites Screencast Blog
Skills: Photoshop, Illustrator, HTML, CSS, jQuery, PHP and CodeIgniter
0

#3 User is offline   cowboyandy 

  • PipPip
  • View blog
  • Group: Member
  • Posts: 25
  • Joined: 22-November 10
  • LocationWimberley, TX

Posted 17 November 2011 - 04:49 PM

View PostBen, on 17 November 2011 - 03:05 PM, said:

I believe you are missing the "url" portion: http://www.w3schools...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.
The Ole Cowboy
Gittin' Older, But Not Agin'!
The Ole Cowboy - was hacked, haven't reuploaded yet
0

#4 User is offline   cowboyandy 

  • PipPip
  • View blog
  • Group: Member
  • Posts: 25
  • Joined: 22-November 10
  • LocationWimberley, TX

Posted 17 November 2011 - 04:55 PM

View PostBen, on 17 November 2011 - 03:05 PM, said:

I believe you are missing the "url" portion: http://www.w3schools...style-image.asp

For example:

ul
{
list-style-image:url('icon.gif');
}


Yuppers! Here's the change:

list-style-image:url (http://www.renttexas...txflagnav.jpg);

Now three errors:

Value Error : list-style-image url is not a list-style-image value : url
Parse Error (http://www.renttexas...txflagnav.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?
The Ole Cowboy
Gittin' Older, But Not Agin'!
The Ole Cowboy - was hacked, haven't reuploaded yet
0

#5 User is offline   Ben 

  • View blog
  • Group: Administrators
  • Posts: 5,409
  • Joined: 19-December 08
  • LocationChico, CA

Posted 17 November 2011 - 05:07 PM

There can't be a space between "url" and the opening "(".
Benjamin Falk | Falken Creative : Twitter : KillerSites Screencast Blog
Skills: Photoshop, Illustrator, HTML, CSS, jQuery, PHP and CodeIgniter
0

#6 User is offline   cowboyandy 

  • PipPip
  • View blog
  • Group: Member
  • Posts: 25
  • Joined: 22-November 10
  • LocationWimberley, TX

Posted 17 November 2011 - 05:26 PM

View PostBen, on 17 November 2011 - 04:07 PM, said:

There can't be a space between "url" and the opening "(".


:clap:

I knew it had to be something simple...why didn't I think of that? :bash:

Thanks Ben!
The Ole Cowboy
Gittin' Older, But Not Agin'!
The Ole Cowboy - was hacked, haven't reuploaded yet
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users