1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

CSS Validation

Discussion in 'CSS' started by Jeccles, Dec 15, 2008.

  1. #1
    There is a site that I am helping try to get straightened out. The person I am helping is absolutely Hung Up on the fact that the CSS is not validating (using w3c) and she keeps getting the following error "exception:javax.servlet.ServletException: Timed out". When I do a search on that term, everything I am reading is basically coming back to "oh well, no big deal as long as the HTML validates". Is it?
     
    Jeccles, Dec 15, 2008 IP
  2. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #2
    It's possible the validator is overloaded so try back later. If not that, then we need to see the code or a link to help.
     
    drhowarddrfine, Dec 15, 2008 IP
  3. Jeccles

    Jeccles Peon

    Messages:
    462
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I'm getting it on multiple validator's. The site I am checking is www.drcarol.com. Any help would be appreciated.
     
    Jeccles, Dec 16, 2008 IP
  4. PixelRaider

    PixelRaider Banned

    Messages:
    57
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    My guess is that the validator(s) are getting confused with which stylesheet to scan. Your friend's HTML links to two stylesheets in different locations, however the second redirects to the homepage which is in .asp format.

    I ran the following (working stylesheet) through the W3C CSS Validator and it worked fine:

    drcarol.com/v/vspfiles/templates/50/css/Imports.css

    If you try the above link it should work. As for "drcarol.com/50/css/Imports.css" this stylesheet I don't see a purpose in it being on the website. I'd get your friend to remove this line of code from the HTML, then the validator should validate the pages properly without getting errors.

    
    <link href="50/css/Imports.css" rel="stylesheet" type="text/css">
    Code (markup):
     
    PixelRaider, Dec 16, 2008 IP
    Jeccles likes this.
  5. Jeccles

    Jeccles Peon

    Messages:
    462
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Great! I will send your message along to her and let you know what happens.
     
    Jeccles, Dec 16, 2008 IP
  6. justinlorder

    justinlorder Peon

    Messages:
    4,160
    Likes Received:
    61
    Best Answers:
    0
    Trophy Points:
    0
    #6

    Yes, it is quite overloaded job to valid css . I usually valid the xhtml/html code only and try to make css valid as much as possible .
     
    justinlorder, Dec 16, 2008 IP
  7. mypsdtohtml

    mypsdtohtml Guest

    Messages:
    96
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #7
    the validator always helps you to find the error
     
    mypsdtohtml, Dec 16, 2008 IP
  8. Yesideez

    Yesideez Peon

    Messages:
    196
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Tell her to sit down with a cup of coffee/tea and forget about it.

    HTML/CSS validation isn't the end of the world and I really can't understand why so many get so hung up on it.

    So many sites out there don't validate yet work perfectly fine.

    Look at Microsoft - hardly any of their pages validate and they have thousands and thousands.

    Some of my pages on my website don't validate, it's something that is at the bottom of my "to-do" list.
     
    Yesideez, Dec 16, 2008 IP
  9. SiteTalkZone

    SiteTalkZone Peon

    Messages:
    243
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Just use the validate by direct input option for Christ sake :p
     
    SiteTalkZone, Dec 16, 2008 IP
  10. Jeccles

    Jeccles Peon

    Messages:
    462
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #10
    I would love to do this but she is soooooo hung up on it. She is concentrating on details that can wait when what she really needs to do is concentrate on her marketing. I looked over preliminary numbers last night and from what I can see she is not far off from this time last year but she seems to think this CSS issue is causing her to lose hits and money.
     
    Jeccles, Dec 16, 2008 IP
  11. SiteTalkZone

    SiteTalkZone Peon

    Messages:
    243
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Rubish no one is going to check a site's CSS is "valid" before they start browsing it, give her a slap.
     
    SiteTalkZone, Dec 16, 2008 IP
  12. Yesideez

    Yesideez Peon

    Messages:
    196
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #12
    As far as I'm aware CSS or HTML validation doesn't matter - I might be wrong but I really don't think it does as I can't imagine any search engine validating the HTML/CSS before marking the site?

    When you validate a page how long does it take? Yup, quite a few seconds. Imagine that number of seconds taken per page per site. Analysing a site could take forever for a search engine to validate.

    Show her this topic - hopefully that'll persuade her.
     
    Yesideez, Dec 16, 2008 IP
  13. SiteTalkZone

    SiteTalkZone Peon

    Messages:
    243
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #13
    My sentiments exactly!
     
    SiteTalkZone, Dec 16, 2008 IP
  14. Jeccles

    Jeccles Peon

    Messages:
    462
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #14
    I think she believes that Google is not indexing all of her pages because of it. I'm going to try and fix it, to make her happy. She is really stressing on this and it is overflowing onto moi :D
     
    Jeccles, Dec 16, 2008 IP
  15. Jeccles

    Jeccles Peon

    Messages:
    462
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #15
    Got the CSS fixed! Now I just have to do something about the search feature. It is picking up words from descriptions instead of sticking to the titles and keywords. Any ideas? She said it is in the Javascript but I do not know what she means.
     
    Jeccles, Dec 16, 2008 IP
  16. rustang289

    rustang289 Peon

    Messages:
    73
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #16
    CSS And XHTML validation is extreamly important! Their trying to eliminate problems running webpages across multiple browsers. When you write proper code your web pages should all function and view the same no matter
    what browser you use.
     
    rustang289, Dec 17, 2008 IP
  17. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #17
    Agree whole heartedly. Invalid pages have errors. If you wish to rely on errors to work everywhere, good luck with that, but don't come crying to us with your problems when it doesn't.
     
    drhowarddrfine, Dec 17, 2008 IP
  18. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #18
    See Google Webmaster Central. Google prefers to use the meta description as the snippet shown in the search results page. It ought to be good since the page's author wrote it, right? Google ignores meta keywords, but does pay attention to headings and text.

    cheers,

    gary
     
    kk5st, Dec 17, 2008 IP
  19. Jeccles

    Jeccles Peon

    Messages:
    462
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #19
    The CSS code is validating now. And the search feature (internal - not Google) is working properly again. The problem now is that the top navigation menu is not formatting properly. Anyone have any ideas?
     
    Jeccles, Dec 18, 2008 IP