473,385 Members | 1,338 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

IE puts extra blank line after radiobutton

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
2 2512
"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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: VK | last post by:
Hi! What I'm missing in following code? Cannot get the values of radiobuttons. Starting only one class (GetVariant), it works. When I put two classes together, it doesn't. Regards, VK from...
3
by: Roedy Green | last post by:
I am looking for a way to group lines in a table by putting a bit of extra space between SOME of the lines. I found that <tr></tr> gives an nice thin horizonal sliver, but this does not pass...
5
by: Tobierre | last post by:
Hi All, In a web page I have created I have included a .js file in the body section of the page with the below JavaScript code. The code works fine, but creates an extrra blank line at the...
2
by: jason | last post by:
Hello. I just converted some data to to sql2000 into a TEXT type field. I needed to remove all tabs from the data and now want to remove extra lines too. As we know, SQL2000's replace function...
3
by: dave | last post by:
I have half a dozen web form radio buttons on a web form. Each of them is set to postback=true. However, if for instance radiobutton1 is already selected and the user selects it again, it performs...
6
by: Radiobutton via DotNetMonster.com | last post by:
i need help with radiobuttons. i am useing 1button and 2 radiobuttons i am trying to make it so when u select a radiobutton and hit button1 it will clear radiobuttons 1 and 2. -- Message...
5
by: Skidlz | last post by:
When I save text to a file it always ads an extra blank line. It is a pain because I have a RC4 encrypter in the program so another line messes it up and adds strange characters. I have tried...
1
by: abrtlt | last post by:
I have a simple PHP script that outputs a string requested by an Ajax page. XMLHttpRequestObject.responseText as received from the PHP script begins with 2 extra newline characters (\n\nMyString):...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.