Posted: Tue Dec 21, 2004 11:02 am colspan not working
I have the following code
<tr colspan=3 >
<td colspan=3 width="174">
<input type="checkbox" name="OptOutCheckbox" value="OptOut">
Please do not add me to the monthly 'new property update'
which I want to have the text for the checkbox span three columns, which it does in Dreamweaver, but in IE it wraps - is it something to do with the check box?
Posted: Fri Jan 07, 2005 7:45 am Re: colspan not working
workingdog wrote:
Code:
<tr colspan=3 >
<td colspan=3 width="174">
<input type="checkbox" name="OptOutCheckbox" value="OptOut">
Please do not add me to the monthly 'new property update'
There is no colspan attribute for the TR element (though this shouldn't affect anything).
Even though the td element is set to span 3 columns, the total width is set to 174 px, so IE obligingly sets the width of the content box to 174 px. You'll need to remove the width attribute. What's it there for?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum