Hello,

How can i let a visitor decide the font-size?
I've included the code below in the gadget, but how can i use the new
font size in the CSS code?

Thanks in advance.



        <UserPref name="font_size" display_name="Font Size" datatype="enum"
default_value="11pt">
                <EnumValue value="10pt"/>
                <EnumValue value="11pt"/>
                <EnumValue value="12pt"/>
                <EnumValue value="13pt"/>
                <EnumValue value="14pt"/>
                <EnumValue value="15pt"/>
        </UserPref>


        <style type="text/css">
                        body    { font-size: 11pt; font-family: Arial, 
Helvetica, sans-serif }
                        label   { width: 80px; margin-left: 2px; margin-top: 
0px; display:
block; font-size: 100%; }
        </style>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iGoogle Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Gadgets-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to