[Catalyst] HTML::Widget and output into a html table

Pfister Andreas Pfister_Andreas at hispeed.ch
Thu Feb 9 21:21:27 CET 2006


Simon Elliott wrote:

> I was just fiddling with this trying to get similar output with CSS - 
> this is normally easy but H::W wraps the input with label, heres what 
> I have so far :-
>
> fieldset { overflow : auto; }
> input, textarea, select, button { float : right; }
> label { margin-left : 10px; float : left; width : 400px;}
>
> or alternatively mess with width on label and set margin-left on 
> input. I can't work out why its not putting the input on the same line 
> as the label right now though...
>
> Simon.
>
> On 9 Feb 2006, at 19:56, John Wang wrote:
>
>> On 2/9/06, *Pfister Andreas* <Pfister_Andreas at hispeed.ch 
>> <mailto:Pfister_Andreas at hispeed.ch>> wrote:
>>
>>     I like to create html form <form> dynamicly with HTML::Widget and
>>     to have a output like
>>     <table>
>>     <form xxxxx>
>>     *<tr><td>*INPUT 1*</td><td>*<input type="text">*<td></tr>*
>>     <tr><td>INPUT 1<........................
>>
>>     Any hints how to get this output ? I tested the css example but I
>>     was not so happy with output.
>>
>>
>> Are you not happy with the default CSS or the DOM structure? If the 
>> default CSS is bothering you, learning CSS layout would be the way to 
>> go. If the DOM structure doesn't let you do what you want with CSS, 
>> perhaps the DOM structure can be modified.
>>
>> I don't think H::W supports tables so if you want to use tables for 
>> layout, you may need to do form generation outside of H::W but you 
>> can still use it for validation.
>>
>> John
>> _______________________________________________
>> Catalyst mailing list
>> Catalyst at lists.rawmode.org <mailto:Catalyst at lists.rawmode.org>
>> http://lists.rawmode.org/mailman/listinfo/catalyst
>
> Well, I tried and its OK !! ;-) Thanks Simon
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Catalyst mailing list
>Catalyst at lists.rawmode.org
>http://lists.rawmode.org/mailman/listinfo/catalyst
>  
>




More information about the Catalyst mailing list