File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Font-Size in html:select Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Font-Size in html:select" Watch "Font-Size in html:select" New topic
Author

Font-Size in html:select

Soumya Saha
Ranch Hand

Joined: Apr 14, 2006
Posts: 64
Hi,
Is there anyway I can change the font-size of a html:select dropdown labels?

Thanks
Vani Bandargal
Ranch Hand

Joined: Oct 06, 2005
Posts: 82
I am not sure how how you are building dropDown but,
When you build dropdown values,say in SQL statements itself(I assume you are reading from database), add font tag to it.
When it is rendered on Browswer, it will aytomatically pick up the font.
If at all you are using c out JSTL then add escapeXML="false" to it.

[ May 19, 2006: Message edited by: Vani D Bandargal ]
[ May 19, 2006: Message edited by: Vani D Bandargal ]
Soumya Saha
Ranch Hand

Joined: Apr 14, 2006
Posts: 64
Hi Vani,
Thanks for ur reply.
It was done earlier.

Thanks
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Font-Size in html:select