Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Mar 2007
    Posts
    20
    Plugin Contributions
    0

    css problem Validating my Stylesheet - Help

    Hi everyone,

    My HTML has validated no problem but I still have 4 errors in my stylesheet that I really want to correct but don't know how. All the errors are the same thing and are on lines: 63, 64, 129, 130 - the error being...

    Value Error: width Parse Error

    I don't understand what this means! I know parsing is about seperating pages into blocks or something like that but I have checked all my width rules and can't find anything wrong.

    my stylesheet can be found here...

    http://www.the-vstore.com/includes/t...stylesheet.css

    Im using version 1.3.7

    Thanks in advance for any help

    Dan
    "The Air Force pinned a medal on me for killing a man and discharged me for making love to one." - Leonard Matlovich

  2. #2
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,145
    Plugin Contributions
    0

    Default Re: Validating my Stylesheet - Help

    Line 63 is in red

    Code:
    h1, h2, h3, h4, h5, h6 {
    	margin: 0.3em 0;
    	}
    Change it to
    Code:
    h1, h2, h3, h4, h5, h6 {
    	margin: 0.3em 0em;
    	}
    and see if that helps. It should correct the errors you're getting on lines 63 and 64.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  3. #3
    Join Date
    Mar 2007
    Posts
    20
    Plugin Contributions
    0

    Default Re: Validating my Stylesheet - Help

    hi thanks for the help,

    i corrected the above error but I'm still getting the same errors when I validate!

    Dan
    "The Air Force pinned a medal on me for killing a man and discharged me for making love to one." - Leonard Matlovich

  4. #4
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,369
    Plugin Contributions
    0

    Default Re: Validating my Stylesheet - Help

    Sorry Mary Ellen, but you do not need to add a unit of measurement when the quantity is zero.

    And when I checked that stylesheet -- both by pasting it in and by setting the URL -- at the W3C CSS validator, it validated with absolutely no erros.

    Rob
    Breakfast: the most important donut of the day.

  5. #5
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,145
    Plugin Contributions
    0

    Default Re: Validating my Stylesheet - Help

    I've found that some errors can be displayed when no unit of measurement is used even if the value is 0. It may depend on the validator (too strict). I didn't see anything else that could possibly be wrong in that section and didn't see any errors on the other lines he's getting the error on.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  6. #6
    Join Date
    Mar 2007
    Posts
    20
    Plugin Contributions
    0

    Default Re: Validating my Stylesheet - Help

    woohoo!

    I'm so silly, I had been only typing in my URL into the CSS validator. when i typed in the exact path to the stylesheet it validated as Rob said.

    thankyou both for your help and sorry if i wasted your time lol!

    Dan
    "The Air Force pinned a medal on me for killing a man and discharged me for making love to one." - Leonard Matlovich

 

 

Similar Threads

  1. Testimonials Sidebox problem with custom stylesheet
    By cshart in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 17 Mar 2007, 12:12 AM
  2. Linked Stylesheet??
    By tcustomgolf in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 30 Jan 2007, 05:02 PM
  3. Stylesheet in 1.2.7 - wanting to add a border...
    By mommydesigns in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 20 Aug 2006, 02:00 PM
  4. Where is the path to my stylesheet defined?
    By europod in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 6 Jul 2006, 10:56 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •