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 Quote Link to comment 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 Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.