[PHP] How to change font attributes in dropdown?

2004-09-12 Thread Jeff Swanberg
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;

Re: [PHP] How to change font attributes in dropdown?

2004-09-12 Thread Franklin van de Meent
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

Re: [PHP] How to change font attributes in dropdown?

2004-09-12 Thread John Holmes
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) --