Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IE stange rendering:fishy stuff

Status
Not open for further replies.

jtaal

Technical User
Jan 17, 2004
23
NL
I have 2 pieces of html:
Code:
<body>
<form style=&quot;border: 1px solid gray;&quot;>
<br>
<br>
some text 1<br><br>
</form>
some text 2
</body>
the other one
Code:
<body>
<form style=&quot;border: 1px solid gray;&quot;>
<br>
<br>
some text 1<br>
</form>
some text 2
</body>

Obviously the difference is one <br> tag.
I want all you guys using IE check this out for me, and tell me you agree something fishy is going on (or not).
i was using IE 6.0...
 
I don't get it. Looks fine to me.

----------
I'm willing to trade custom scripts for... [see profile]
 
Is it possible you have a DOCTYPE declaration at the very top of your HTML file? If so... try removing it and then refreshing... does the problem remain?

Cheers,
Jeff
 
I guess the number of line breaks appears equal when both documents are rendered eventhough one has an additional <br>. While fascinating, I don't see any practical value why someone would linger on this information.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top