[pmwiki-users] CSS for one (or all) tag in _a single_ page (inline or in head)
Clemens Gruber
cgruber at uni-osnabrueck.de
Thu Aug 24 11:55:10 CDT 2006
Hi Patrick,
so I have to edit (as admin) per FTP a file on the webserver. Can I have
the same effect by any PmWiki directive on the web interface?
Clemens
Patrick R. Michaud wrote:
>On Thu, Aug 24, 2006 at 01:56:19PM +0200, Clemens Gruber wrote:
>
>
>>Hi list,
>>
>>how can I change the css statements for one (or all) tag in _a single_
>>page, I've got an input field
>>(:input text NameFrom:)
>>
>>and I like to to sometihng like
>>(:input text style='width:150px;' NameFrom:) //this doesn't work
>>
>>or alternativ for all tags but only in the current page (how can i add
>>css in head?)
>>
>>
>
>By default PmWiki adds "class='inputbox'" to (:input text:) and
>(:input password:), so in pub/css/Group.CurrentPage.css you can put
>
> .inputbox { width:150px; }
>
>This will cause all (:input text ...:) boxes on Group.CurrentPage
>to have a width of 150px.
>
>Or, it can be done from local/config.php with
>
> $HTMLStylesFmt[] = ' .inputbox { width:150px; } ';
>
>Pm
>
>
>
--
Clemens Gruber (Dipl.-Psychologe)
Zentrum zur Unterstuetzung virtueller Lehre
der Universitaet Osnabrueck (virtUOS)
Schloss-Strasse 9, Raum E07, D-49074 Osnabrueck
E-Mail: cgruber at uni-osnabrueck.de
URL: http://www.virtuos.uni-osnabrueck.de
Telefon: (05 41) 969-6505 oder
(05 41) 969-6501 (Sekretariat)
Fax: (05 41) 969-16505
More information about the pmwiki-users
mailing list