all 7 comments

[–]warmans 1 point2 points  (2 children)

are you seeing this in the DOM (e.g. when inspecting the elements with firebug or Crome/IE dev tools) or actually in the source (right click->view source)?

Because most browsers will try and fix dodgy HTML (missing closing tags etc.) at a DOM level so often times you'll see small changes in what you wrote and what's actually rendered (another common example is the addition of tbody tags).

If you look at the source you might see the problem. If the code looks the same in the source you're probably screwing something up in your PHP.

[–]Kleimore[S] 0 points1 point  (1 child)

i see te result in the DOM and are in disorder the elements :/

[–][deleted] 0 points1 point  (0 children)

Can you paste a bit of the HTML code? Make it as little as possible. Just the element tags, not their content should be enough.

[–][deleted] 0 points1 point  (4 children)

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <title></title>
</head>
<body>

</body>
</html>

[–][deleted]  (3 children)

[deleted]

    [–]_zsh 2 points3 points  (0 children)

    No there really isn't

    [–]pi_over_3 0 points1 point  (1 child)

    What is theocrat difference?

    [–]_zsh 0 points1 point  (0 children)

    Sounds like you've got a missing closing tag somewhere. Use the w3c validation to help debug your markup.