I've tried many locations but can't figure out how to change the font
attributes for just my dropdown list on my page. The dropdown box populates
its data perfectly but I'd like to change the font to Arial Bold 10pt on the
items.
Here's my code:
?
div style=position:absolute; top:100px;
Hello Jeff,
You can use the style attribute in option like you have done in the div
So this:
echo option value=\$row[0]\ $row[0] /option;
Could look like this:
echo option value=\$row[0]\ style=\font-family:arial;
font-size:10pt; font-weight:bold;\ $row[0] /option;
--
Franklin van de Meent
Jeff Swanberg wrote:
I've tried many locations but can't figure out how to change the font
attributes for just my dropdown list on my page. The dropdown box populates
its data perfectly but I'd like to change the font to Arial Bold 10pt on the
items.
Google - CSS Tutorial
(not a PHP issue)
--
3 matches
Mail list logo