Re: Problems using checkbox within a table.
- From: "Daz" <cutenfuzzy@xxxxxxxxx>
- Date: 29 Nov 2006 09:12:32 -0800
Rob ^_^ wrote:
Hi Daz,Sorry, from your past post, I didn't quite understand what you meant I
Did you try the (non-blank space) at the start of the table cell
thought you'd missed a word out. I have tried as you suggested, and it
seems to vertically center the checkbox better, but the row hieght is
still hideously big, and bigger than it was before.
Please could you give an example? Do you mean, with regards to
ie.
<td> <input type=checkbox... etc
What about the cell wrapping attributes of the cells?
cellpadding, margin, spacing etc...?
If so, then yes, I believe I have tried just about every possibility.
Here is a snippet of the HTML code generated from my PHP script. I have
stripped out most of the crap such as CSS. Hopefully, you will
immediately spot what is wrong. It's probably something I am not
understanding. I just don't understand why Microsoft insist on doing
things differently from everyone else...
<---------- HTML CODE START ---------->
<body>
<table rules="rows" cellspacing="0" cellpadding="0">
<tr align="center">
<td><b>Bookname</b></td>
<td width="50"><b>Type</b></td>
<td><b>Owned</b></td>
<td><b>Locate</b></td>
</tr>
<tr align="center" bgcolor="#ccff99">
<td align="left"><span>10 Steps to Getting Rich</span></td>
<td><span>Regular</span></td>
<td>
<form method="post" action="index.php?name=Book_Organizer&do=listUBooks">
<input type="checkbox" onchange="submit()" checked="checked" />
<input type="hidden" name="addBook" value="b2" />
</form>
</td>
<td align="left">
<a href="index.php?name=Book_Organizer&do=listUsers&book=10_Steps_to_Getting_Rich">View users who need "10 Steps to Getting Rich"</a>
</td>
</tr>
<tr align="center" bgcolor="#ffccff">
<td align="left"><span>13 Banlow Street</span></td>
<td><span>Retired</span></td>
<td>
<form method="post" action="index.php?name=Book_Organizer&do=listUBooks">
<input type="checkbox" onchange="submit()" checked="checked" />
<input type="hidden" name="addBook" value="b1" />
</form>
</td>
<td align="left">
<a href="index.php?name=Book_Organizer&do=listUsers&book=13_Banlow_Street">View users who need "13 Banlow Street"</a>
</td>
</tr>
<table>
</body>
<----------- HTML CODE END ----------->
Regards.
"Daz" <cutenfuzzy@xxxxxxxxx> wrote in message
news:1164749236.307754.43120@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Rob ^_^ wrote:
Hi Daz,
Try setting the height of each of your table rows or place before
your checkboxes in the table rows.
Regards.
"Daz" <cutenfuzzy@xxxxxxxxx> wrote in message
news:1164690653.691311.75280@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello everyone. I am not sure where best to post this, but as I believe
it's an issue with IE, I posted here.
I have a table full of rows, and each row contains some text and a
checkbox. For some reason, When I add the checkbox, the hight of the
row doubles in size. It could even triple in height, I am not sure, but
it looks rediculous. When I remove it, it's fine. Also, my table looks
fine in Firefox.
Could anyone suggest a solution as to how to get around the problem? If
I have to use text instead of a checkbox, then so be it, but I'd rather
not.
Many thanks.
Daz.
Rob, thanks for the reply. Unfortunately this doesn't seem to be
working. I can make the row higher, but when I try to make it shorter,
it just doesn't seem to do anything. I have even tried removing the
checkbox padding, and margin. Still to no avail...
.
- Follow-Ups:
- References:
- Re: Problems using checkbox within a table.
- From: Rob ^_^
- Re: Problems using checkbox within a table.
- From: Daz
- Re: Problems using checkbox within a table.
- From: Rob ^_^
- Re: Problems using checkbox within a table.
- Prev by Date: RE: IE6 Page Cannot be displayed while connection is OK
- Next by Date: Re: IE6 Page Cannot be displayed while connection is OK
- Previous by thread: Re: Problems using checkbox within a table.
- Next by thread: Re: Problems using checkbox within a table.
- Index(es):
Relevant Pages
|