Boo-urns Posted February 9, 2007 Share Posted February 9, 2007 I'm displaying countries in a dropdown and was trying to figure out how i can fit it in a smaller box. I tried giving the dropdown a div class that didn't work and also tried changing the #column td { css tag. Any ideas how I will be able to squish it in a small box? Corey Link to comment https://forums.phpfreaks.com/topic/37831-dropdown-text-size/ Share on other sites More sharing options...
AndyB Posted February 10, 2007 Share Posted February 10, 2007 apply a css style directly to the SELECT element Link to comment https://forums.phpfreaks.com/topic/37831-dropdown-text-size/#findComment-181156 Share on other sites More sharing options...
trecool999 Posted February 10, 2007 Share Posted February 10, 2007 <style type="text/css"> <!-- .Countries { font-family: "Courier New", Courier, monospace; font-size: 10px; color: #FF0000; text-decoration: underline overline line-through blink; } --> </style> <form name="Countries" method="post" action="-Action-"> <label> <select name="Countries" class="Countries"> <option value="1">Item 1</option> <option value="2">Item 2</option> <option value="3">Item 3</option> </select> </label> </form> Build it off that. Link to comment https://forums.phpfreaks.com/topic/37831-dropdown-text-size/#findComment-181578 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.