[pmwiki-users] How to enable inline styles for input forms

Johannes Langlotz johannes at webminster.org
Sat Mar 28 09:07:10 CDT 2009


DaveG wrote:
> 
> Johannes Langlotz wrote:
>> Thank you for your answer, but the size parameter is the width in 
>> characters. I need the width in pixels.
> Do you need to do this inline? Why not specify a CSS selector and style 
> and include that as part of the document header?
> 
> $HTMLStylesFmt['mystyle'] = '#selector {width: 240px;}';
> 

I want to be able to create new forms without the need to edit config 
files on the server. I use the CSSInWikiPages cookbook now, since you 
can assign an id or a class name to forms.

> 
>>
>>
>> Sameer Kumar schrieb:
>>> You can try:
>>>
>>> (:input text field1 size=240:)
>>>
>>> On Sun, Mar 15, 2009 at 7:21 PM, Johannes Langlotz
>>> <johannes at webminster.org>wrote:
>>>
>>>> Hi @ all,
>>>> is there a way to enable inline css for input forms? I need something
>>>> like this:
>>>>
>>>> (:input text field1 style="width:240px;":)
>>>>
>>>> This works for table directives but not for forms. Thanks in advanced!
>>>>
>>>> Cheers, Johannes
>>>>
>>>>
>>>> _______________________________________________
>>>> pmwiki-users mailing list
>>>> pmwiki-users at pmichaud.com
>>>> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>>>>
>>
>> _______________________________________________
>> pmwiki-users mailing list
>> pmwiki-users at pmichaud.com
>> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>>



More information about the pmwiki-users mailing list