Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can I make the text in dropdownlist Bold? 1

Status
Not open for further replies.

ZOR

Technical User
Jan 30, 2002
2,963
GB
<td align="center" width="5%" bgcolor="#EBEBEB"><font
face="Arial"><strong><select name="D9" size="1">


Can I do anything to the syntax above to change the text boldness, thanks.
 
It's not really recommended to fiddle with form elemtns stylings, as each browser will reender them differentyl, but you can try this:

Code:
<select name="D9" [red]style="[green]text-weight:bold;[/green]"[/red]>

Although i can;lt guarantee it will work across all browsers in the same fashion.

----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Thanks, I gave it a try but it did not make any difference. Using IE 6.0.2900. Thanks for the try at it. Regards.
 
Are you sure, I tried it out in firefox, and IE, and it worked fine in both.




----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
I tried it again, and still no difference.

Tried this
<td align="center" width="5%" bgcolor="#EBEBEB"><select name="D9" style="text-weight:bold;">

And tried this
<td align="center" width="5%" bgcolor="#EBEBEB"><font face="Arial"><strong><select name="D9" style="text-weight:bold;">

Neither changed the font boldness. Not telling fibs, I'd be happy if it worked. ?? Regards
 
My mistake, its [red]font-weight[/red] not [green]text-weight[/green]

----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Thanks vacunita, that works perfectly. There, told you I wasn't fibbing. Have a star and thanks again. Regards
 
Glad I could help.

----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top