[pmwiki-users] Formatting text variable from a Form input

Hans design5 at softflow.co.uk
Wed Oct 22 09:06:37 CDT 2008


Wednesday, October 22, 2008, 2:29:07 PM, Graham Archer wrote:

>  My problem is that if I use syntax like  [-{$$prob_statement}-]  
> in the page template this works in reducing the font size 
>  provided that the text that is in the form doesn't have line break in it.

if you have line breaks as part of the text added with the PTV,
you could use a div instead, and set the font size for the div,
via style:

>>font-size=smaller<<
{$$prob_statement}
>><<

(not sure if font-size=smaller works like this, or if you need to use
style='font-size:smaller;')


  ~Hans




More information about the pmwiki-users mailing list