This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler on-line!
See this thread for details.
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 Customer Requirements for Developers this week in the Jobs Discussion 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
 
 
subject: Font-Size in html:select
 
It's not a secret anymore!