SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Guru tombempty's Avatar
    Join Date
    Oct 2001
    Location
    New York
    Posts
    688
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    OL and UL Validation Hell!!

    Hello All,
    I am having the hardest time validating my site with my OL and UL tags wehre they are. Currently I have them behind an <h3> tag which I need defined and a <font class=> tag which I also need difined however when I go and drop a ol or ul tag after that I get a valadation error saying that the OL and UL are block level elements and need to be on a line by themselves.

    So now what do I do to solve this problem?

    For now I have resorted to the unpopular &bull; expression to get a bullet in there but the fact that I cannot use ol and ul is killing me.

    Any help would be appreciated,

    thanks

    paul
    ********
    Regards,

    P

  2. #2
    Object Not Found junjun's Avatar
    Join Date
    Mar 2002
    Location
    northern MI
    Posts
    1,392
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think it tells you you can put block elements inside inline elements. If your code is <font><ul>... then remove the font tags.

  3. #3
    SitePoint Guru tombempty's Avatar
    Join Date
    Oct 2001
    Location
    New York
    Posts
    688
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Junjun however, I need them to alter my font color to match the rest of the site.

    Any other thoughts?

    Paul
    ********
    Regards,

    P

  4. #4
    SitePoint Wizard bronze trophy conradical's Avatar
    Join Date
    Jan 2005
    Location
    Atlanta
    Posts
    2,355
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Well instead of <font class="..."> <ul class="...">


    am i missing something...?

  5. #5
    Object Not Found junjun's Avatar
    Join Date
    Mar 2002
    Location
    northern MI
    Posts
    1,392
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by tombempty
    Thanks Junjun however, I need them to alter my font color to match the rest of the site.

    Any other thoughts?
    Like Contradical said, don't use the deprecated FONT tag to style fonts, use CSS.

  6. #6
    SitePoint Guru tombempty's Avatar
    Join Date
    Oct 2001
    Location
    New York
    Posts
    688
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    ohhhhhhhhhhhhh

    Ahhhhhh,
    THANK YOU!!!!!

    I knew I was missing something so simple and could not figure it out. sheesh.

    ok - thanks for all your help with this,

    Paul
    ********
    Regards,

    P

  7. #7
    The Mind's I ® silver trophy Dark Tranquility's Avatar
    Join Date
    Sep 2003
    Location
    KSA - UAE
    Posts
    9,457
    Mentioned
    8 Post(s)
    Tagged
    1 Thread(s)
    remember...<font> tag is deprecated in HTML 4.01 and not supported in XHTML 1.0 Strict


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
  •