pcfountain
Posts: 35
|
| Posted: 05/13/2004, 12:03 PM |
|
Hi,
I would like to display the items in a checkbox list vertically. Basically I would just need to insert a <br> between each item. How can this be done in CCS?
_________________
Paul Fountain
http://www.pcfountain.com |
 |
 |
matheus
Posts: 386
|
| Posted: 07/28/2004, 12:06 PM |
|
Quote pcfountain:
Hi,
I would like to display the items in a checkbox list vertically. Basically I would just need to insert a <br> between each item. How can this be done in CCS?
You can change in the html.
Put the Begin CheckBoxList before a <tr> and the End CheckBoxList after the </tr> Put the input and description in <td>'s.
And then each value of checkbox list will appear vertically, in one line.
_________________
Matheus Trevizan
Dynamix Software Ltda.
Blumenau SC Brasil
www.dynamix.com.br |
 |
 |
JohnDoranNY
Posts: 3
|
| Posted: 09/29/2004, 2:19 PM |
|
This was the same solution I had come to for a vertical list, but now I run into a problem where I need to be able to display the information in 2 columns.. (example)
[X] ListItem1 [X] ListItem5
[ ] ListItem2 [X] ListItem 6
[X] ListItem3 [ ] ListItem 7
[ ] ListItem4 [X] ListItem 8
Does anyone know who to accomplish this with the CheckBox List object?
Thanks
|
 |
 |
cobom
Posts: 55
|
| Posted: 09/29/2004, 6:54 PM |
|
<table>
<tr>
<td>[X] ListItem1 </td><td> [X] ListItem5</td></tr>
<td>[X] ListItem2 </td><td> [X] Listitem6</td></tr>
<td>[X] ListItem3 </td><td> [X] ListItem7</td></tr>
<td>[X] ListItem4 </td><td> [X] ListItem8</td></tr>
</table>
_________________
cmckinney@searay.com
Will program for a Sea Ray 680 SS ;} |
 |
 |
cobom
Posts: 55
|
| Posted: 09/29/2004, 6:55 PM |
|
Sorry, You need <tr> as well
<table>
<tr><td>[X] ListItem1 </td><td> [X] ListItem5</td></tr>
<tr><td>[X] ListItem2 </td><td> [X] Listitem6</td></tr>
<tr><td>[X] ListItem3 </td><td> [X] ListItem7</td></tr>
<tr><td>[X] ListItem4 </td><td> [X] ListItem8</td></tr>
</table>
_________________
cmckinney@searay.com
Will program for a Sea Ray 680 SS ;} |
 |
 |
John F. Doran
|
| Posted: 09/30/2004, 10:54 AM |
|
Quote cobom:
Sorry, You need <tr> as well
<table>
<tr><td>[X] ListItem1 </td><td> [X] ListItem5</td></tr>
<tr><td>[X] ListItem2 </td><td> [X] Listitem6</td></tr>
<tr><td>[X] ListItem3 </td><td> [X] ListItem7</td></tr>
<tr><td>[X] ListItem4 </td><td> [X] ListItem8</td></tr>
</table>
No... I know how to do it in HTML... my question is how to do this using a Checkbox List.... since it seems you can only format 'one list element' at a time... I am curious to know if there is a way to do it so its two per line with this type of formatting. Either I can get it all on one line, or in one column, but I need to be able to display the results as 2 columns from a Checkbox List.
Thanks
|
|
|
 |
Ozum
Posts: 57
|
| Posted: 10/03/2004, 3:59 AM |
|
Although not a real solution i have a workarund this.
For example to implement it in 3 columns, I put checkbox element in a <span style="width:33%"> tag. It causes checkboxes appears like 3 columns. Unfortunatelly it is not so consistent.
If somebody (Hi peterr :) has more consistent solution, it would be great.
|
 |
 |