Re: Problems using checkbox within a table.

Tech-Archive recommends: Speed Up your PC by fixing your registry




Rob ^_^ wrote:

Hi Daz,

Did you try the   (non-blank space) at the start of the table cell
Sorry, from your past post, I didn't quite understand what you meant I
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.

ie.
<td>&nbsp;<input type=checkbox... etc

What about the cell wrapping attributes of the cells?
Please could you give an example? Do you mean, with regards to
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>&nbsp;
<form method="post" action="index.php?name=Book_Organizer&amp;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&amp;do=listUsers&amp;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&amp;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&amp;do=listUsers&amp;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 &nbsp; 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...


.



Relevant Pages

  • Re: Problems using checkbox within a table.
    ... Rob ^_^ wrote: ... at the start of the table cell ... Try setting the height of each of your table rows or place   ... For some reason, When I add the checkbox, the hight of the ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Problems using checkbox within a table.
    ... at the start of the table cell ... Try setting the height of each of your table rows or place   ... For some reason, When I add the checkbox, the hight of the ... Rob, thanks for the reply. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Problems using checkbox within a table.
    ... Try setting the height of each of your table rows or place   ... For some reason, When I add the checkbox, the hight of the ... Rob, thanks for the reply. ... checkbox padding, and margin. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Dealing with Tables in VBA
    ... n-1 paragraphs in any cell in the second column of any table after the ... "No Filter Required" ... Anytime the checkbox next to "No FIlter Required" is checked, ... Find a occurance of a text string "Data Filter Requirements" ...
    (microsoft.public.word.vba.general)
  • Re: Dealing with Tables in VBA
    ... That is the end of cell marker and will be treated as a separate paragraph. ... However, if the checkbox that you are looking for is on the previous line, ... "No Filter Required" ... Find a occurance of a text string "Data Filter Requirements" ...
    (microsoft.public.word.vba.general)