|
Posted by Paul Lautman on 01/02/46 11:41
geniolatenio wrote:
> On Fri, 3 Mar 2006 12:45:08 -0000, "Paul Lautman"
> <paul.lautman@btinternet.com> wrote:
>
>> I can't figure out how to keep the radio buttons in the correct
>> place within the form.
>>
>> If you take a look at http://www.stjamesmilton.org.uk/email.htm I
>> actually want the buttons to stay under the "y" of type, regardless
>> of the width of the browser window.
>
> Well, you could probably fix the thing with css, but since you coded
> the page using tables - an I love tables - here's my tip.
>
> A solution is a 2 cells - 2 rows table with the "What type" sentence
> in a 2-spanning cell in the first row and the buttons in the second
> cell of the following row, while in the first cell you specify the
> width in pixels.
>
> Mmmm.. easier to show you the code than describing it..
>
> <table>
> <tr>
> <td colspan="2"><label for="whoto">What type of
> message do you wish to send?</label></td>
> </tr>
> <tr>
> <td width="50px"></td>
> <td><input name="whoto" type="radio" checked
> value="1">Enquiry about church matters<br><input name="whoto"
> type="radio" value="2">Feedback on web site</td>
> </tr>
> </table>
>
> Hope it helps,
>
> geniolatenio
>
> Bye
>
> geniolatenio
Cheers for that. I was almost there but I had the label outside rather than
inside the table.
[Back to original message]
|