SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict mserms's Avatar
    Join Date
    Jun 2001
    Location
    Scotland
    Posts
    230
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Why doesn't this validate?

    I can't work out what's wrong with this CSS:

    PHP Code:
    #right-panel ol {
        
    padding0px 0px 0px 2em;
        
    text-indent0em;
        
    margin:_0px;

    The w3c validator gives this error:

    Line: 76 Context : #right-panel ol

    Invalid number : margin 0px is not a margin-top value : 0px
    I'm not understanding this. Setting the top margin to 1 etc doesn't do any good. What am I missing?

  2. #2
    SitePoint Addict mserms's Avatar
    Join Date
    Jun 2001
    Location
    Scotland
    Posts
    230
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That post solved my problem. Looks like some strange chars got in there somehow but weren't showing up. Weird - anyone else had this problem with Homesite 5?

    Re-entering the line has worked fine.


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
  •