• Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

XHTML Help Needed...desperately

  • 9,405
    Posts
    21
    Years
    • Seen Aug 4, 2015
    Okay, here's whaty I get when I try to validate my page to XHTML 1.1 Strict.

    Code:
    Line 53, column 31: there is no attribute "align"
    
    <td colspan="3"><div align="center"><a href="index.php?=home"><img src="Bann
    So then I change "align="center" to "frame="center".

    Code:
    Line 53, column 31: value of attribute "frame" cannot be "center"; must be one of "void", "above", "below", "hsides", "lhs", "rhs", "vsides", "box", "border"
    The values make no sense to me. I tried "box" and it works but it makes my page go off center. Anyone know a valid code for centering this? I don't even think <frame> is the correct one...

    That error with the "align" thing makes up about 50 of the 485 errors on my page. The rest are just no end tags for <br> and <img> tags and other things I can fix just by adding < /> to it...
     
    Last edited:
    Try:
    Code:
    <center> </center>
    to align things in the center. I'm not sure if it's XHTML compatible but it is for HTML. Or just put somthing like this:
    Code:
    <td colspan="3" align="center">
    in your table.
     
    Back
    Top