adding spaces (tab) in html

  • Thread starter Thread starter pete0085
  • Start date Start date
P

pete0085

There is a table with a couple radio buttons in the same row. I'm trying to
space them out equally, but the spaces do not look good and you are not able
to add tabs in html so I'm wondering what can I do to fix this? I tried the
<pre> code that I read about.

<input type="radio" name="R1" value="V8"> Family Sickness
<input type="radio" name="R1" value="V9"> Death in Family</td>
 
You can place each in its own cell in a table

<table>
<tr>
<td><input type="radio" name="R1" value="V8"> Family Sickness</td>
<td><input type="radio" name="R1" value="V9"> Death in Family</td>
</tr>
</table>

The width of the cell can be set by
<td width="20px">
<td width="10%">
or better with a style
<td style="width:20px;">
<td style="width:10%;">

Another simple, but not very elegant, way is to add spaces
e.g.
<input type="radio" name="R1" value="V8"> Family Sickness&nbsp;&nbsp;
<input type="radio" name="R1" value="V9"> Death in Family

Each occurrence of &nbsp; is a single space
 
That's weird, I posted my entire code, but it removed the "spaces". I was
using all spaces and the bullets on the right side were not aligned correctly
and that's the problem i was having. The left was fine, but there is 4 sets
a bullets (four left....four right) and not all of them would line up in a
row, the right side is giving me issues.
 
pete0085 said:
That's weird, I posted my entire code, but it removed the "spaces".

In FP, if you are working from the design screen and put in tabs or spaces,
the actual html code (I think) is &nbsp (non-breaking space, I think).

Tom
 
Back
Top