Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Sep 2010
    Posts
    77
    Thanks
    13
    Thanked 1 Time in 1 Post

    What is happening?!

    Hey I finally got my login to work but after you log in the format gets all screwed up! The easiest way to show you what I mean would be to let you guys log in!

    Username: sample
    Password: password

    Site:

    http://motorcyclemods.net23.net/index.php

    It's fine when you aren't logged in but when you do, well you can see the problem!

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,801
    Thanks
    160
    Thanked 2,216 Times in 2,203 Posts
    Blog Entries
    1
    Take the html source of the page after login from browser's view source option and then validate using http://validator.w3.org/#validate_by_input. There seems to be some closing tags missing .
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    New Coder
    Join Date
    Sep 2010
    Posts
    77
    Thanks
    13
    Thanked 1 Time in 1 Post
    I copied it into PSPad and here's what I got:

    Found 0 errors 27 warnings
    line 103 column 61 - Warning: <br> element not empty or not closed
    line 103 column 65 - Warning: <br> element not empty or not closed
    line 103 column 220 - Warning: <br> element not empty or not closed
    line 103 column 224 - Warning: <br> element not empty or not closed
    line 103 column 250 - Warning: <br> element not empty or not closed
    line 103 column 315 - Warning: <br> element not empty or not closed
    line 103 column 319 - Warning: <br> element not empty or not closed
    line 106 column 74 - Warning: <br> element not empty or not closed
    line 107 column 1 - Warning: <br> element not empty or not closed
    line 107 column 9 - Warning: discarding unexpected </div>
    line 108 column 41 - Warning: <div> isn't allowed in <tr> elements
    line 119 column 41 - Warning: <div> isn't allowed in <tr> elements
    line 134 column 33 - Warning: discarding unexpected </div>
    line 136 column 25 - Warning: discarding unexpected </div>
    line 138 column 25 - Warning: <div> isn't allowed in <tr> elements
    line 140 column 17 - Warning: discarding unexpected </div>
    line 141 column 9 - Warning: discarding unexpected </div>
    line 142 column 1 - Warning: discarding unexpected </div>
    line 144 column 1 - Warning: <div> isn't allowed in <tr> elements
    line 180 column 1 - Warning: <div> isn't allowed in <tr> elements
    line 99 column 1 - Warning: missing </table> before </body>
    line 94 column 9 - Warning: missing </div>
    line 92 column 33 - Warning: missing </div>
    line 91 column 25 - Warning: missing </div>
    line 53 column 17 - Warning: missing </div>
    line 52 column 9 - Warning: missing </div>
    line 51 column 1 - Warning: missing </div>

    The div can't be put in the tr? So how do I work around this?

  • #4
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,801
    Thanks
    160
    Thanked 2,216 Times in 2,203 Posts
    Blog Entries
    1
    The div can't be put in the tr? So how do I work around this?
    Are you nesting the div directly under tr? If so, that's invalid. You need to have a td inside tr before anything.
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •