SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict caser85's Avatar
    Join Date
    May 2002
    Posts
    262
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Validation errors

    Can someone please tell what is wrong with this CSS? I ran it through the W3 Validator and it said these had parse errors:

    Line: 8 Context : .content
    Parse Error - content_bold { font-family:Verdana, Arial, Helvetica, sans-serif; font-size:13px; font-weight:bold }

    Line: 30 Context : .inputfield
    Parse Error - inputfield_on { font-family: verdana, arial, sans-serif; font-size: 10px; width: 220px; background: #ffffff; border: 1px #6095CA solid; ; font-weight: bold}

    EDIT: I think I see what is wrong. You can't use an underscore. So content_bold must be contentbold.
    Last edited by caser85; Jul 19, 2002 at 11:56.

  2. #2
    SitePoint Zealot lightwithoutheat's Avatar
    Join Date
    Feb 2002
    Location
    Washington DC
    Posts
    175
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You are correct, you cannot use an underscore.


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
  •