By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,445 Members | 1,159 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,445 IT Pros & Developers. It's quick & easy.

IE puts extra blank line after radiobutton

P: n/a
Hi,

This has nothing to do with the common "blank line after a form" problem.

I have a form with a table with some radio buttons inside it, and I couldn't
figure out why it was rendering an extra blank line between the radio
buttons in IE (v6 with all the latest patches). There's a complete
self-contained example.

<html>
<body>
<form>
<table>
<tr>
<td>
<input type="radio">one
<br><input type="radio">two
</td>
</tr>
</table>
</form>
</body>
</html>

if you move the <br> to the end of the previous line it renders OK without a
blank line. Other browsers render OK whichever you do

Is this a bug in IE? if so, do I get a prize?

BTW yes I know this is not a valid HTML document - I just cut my real page
back to the minimum necessary to illustrate the problem. you can put 2 radio
buttons separated by a <br> inside a table cell anywhere and you will get
the same symptoms.

Andy
Jul 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
"Andy Fish" <aj****@blueyonder.co.uk> wrote:
<table>
<tr>
<td>
<input type="radio">one
<br><input type="radio">two
</td>
</tr>
</table> - - if you move the <br> to the end of the previous line it renders OK
without a blank line.
And if you remove the surrounding table markup, the discrepancy
disappears.
Is this a bug in IE?
Yes.
if so, do I get a prize?


No, you're late. The 1,000,000th bug reporter got rewarded recently.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

Jul 20 '05 #2

P: n/a
Is this a bug in IE?


Yes.


WooHoo (in the manner of homer simpson)
if so, do I get a prize?


No, you're late. The 1,000,000th bug reporter got rewarded recently.


D'oh!

Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.