Formatting drop down boxes

Can't figure out how to change the colour ofmy drop down box :-(

Page 1 of 1

0 Replies - 2089 Views - Last Post: 21 April 2008 - 02:53 PM

#1 Cruciamentum   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 18
  • Joined: 08-February 08

Formatting drop down boxes

Post icon  Posted 21 April 2008 - 02:53 PM

Hey all. I'm having trouble changing the color of my drop down boxes in a submit form. I can get the regular text fields to change just fine, but can't seem to find anywhere that enlightens me as to how to change up the drop downs.

Here's what my form code looks like:
<style>
 input
{
color: #111111;
background: #D5E6FA;
border: 1px solid #7DA5E0
}
</style>
<b><font color="4C84D5">
<script src="newformscript.js" type="text/javascript"></script>
 <form name="frmFirstInfo" action="https://crmaddress.whatever" method="POST">
  <input type="hidden" name="ShortForm" value="yes1" />
  <input type="hidden" name="UserAction" value="EnterClientInfo" /><br />
<span class="general">First Name:</span><br />
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="F_NAME" maxlength="30" class="general" onblur="hideAdvt()" size="20" onfocus="showAdvt()" />
		<br /><br />
<span class="general">Last Name:</span><br />
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="L_NAME" size="20" class="general" maxlength="30" />
		<br /><br />
<span class="general">E-Mail:</span><br />
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="E_MAIL" size="20" class="general" maxlength="100" />
		<br /><br />
<span class="general">Day Phone:</span><br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(
  <input type="text" name="HOME_PHONE1" size="2" maxlength="3" class="general" style="width:30px" />
		)&nbsp;
  <input type="text" name="HOME_PHONE2" size="2" maxlength="3" class="general" style="width:30px" />
		-
  <input type="text" name="HOME_PHONE3" size="3" maxlength="4" class="general" style="width:35px" />
		<br /><br />
<span class="general">Evening Phone:</span><br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(
  <input type="text" name="WORK_PHONE1" size="2" maxlength="3" class="general" style="width:30px">
		)&nbsp;
  <input type="text" name="WORK_PHONE2" size="2" maxlength="3" class="general" style="width:30px">
-
  <input type="text" name="WORK_PHONE3" size="3" maxlength="4" class="general" style="width:35px">
		<br /><br />
<span class="general">State:</span><br />
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<select name="STATE" size="1"  class="general">
			<option value="">- Select A State -</option>
			<option value="AL">Alabama</option>
			<option value="AK">Alaska</option>
			<option value="AZ">Arizona</option>
			<option value="AR">Arkansas</option>
			<option value="CA">California</option>
			<option value="CO">Colorado</option>
			<option value="CT">Connecticut</option>
			<option value="DE">Delaware</option>
			<option value="DC">District Of Columbia</option>
			<option value="FL">Florida</option>
			<option value="HI">Hawaii</option>
			<option value="ID">Idaho</option>
			<option value="IL">Illinois</option>
			<option value="IN">Indiana</option>
			<option value="IA">Iowa</option>
			<option value="KY">Kentucky</option>
			<option value="LA">Louisiana</option>
			<option value="ME">Maine</option>
			<option value="MD">Maryland</option>
			<option value="MA">Massachusetts</option>
			<option value="MI">Michigan</option>
			<option value="MN">Minnesota</option>
			<option value="MO">Missouri</option>
			<option value="MT">Montana</option>
			<option value="NE">Nebraska</option>
			<option value="NV">Nevada</option>
			<option value="NH">New Hampshire</option>
			<option value="NJ">New Jersey</option>
			<option value="NM">New Mexico</option>
			<option value="NY">New York</option>
			<option value="ND">North Dakota</option>
			<option value="OH">Ohio</option>
			<option value="OK">Oklahoma</option>
			<option value="OR">Oregon</option>
			<option value="PA">Pennsylvania</option>
			<option value="RI">Rhode Island</option>
			<option value="SD">South Dakota</option>
			<option value="TN">Tennessee</option>
			<option value="TX">Texas</option>
			<option value="UT">Utah</option>
			<option value="VT">Vermont</option>
			<option value="WA">Washington</option>
			<option value="WI">Wisconsin</option>
			<option value="WY">Wyoming</option>
 </select>
		  <br /><br />
<span class="general">Unsecured Debt:</span><br />
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<select name="TOTAL_DEBT" size="1"  class="general">
			<option value="">- Debt Amount -</option>
			<option value="10000">$10,000-$15,000</option>
			<option value="15000">$15,000-$30,000</option>
			<option value="30000">$30,000-$50,000</option>
			<option value="50000">$50,000-$100,000</option>
			<option value="100000">$100,000+</option>
 </select>
  <input type="hidden" name="TOTAL_DEBT_V" id="TOTAL_DEBT_V" />
		  <br />
		  <br />
&nbsp;&nbsp;&nbsp;<input name="submitButton" type="image" id="submitButton" src="submit2.jpg" onclick="fnEnterInfo();return false;" add style="border:none" />
</form>
</b></font>



Sorry for the mess of &nbsp;, I'll take care of that after I get the color thing figured out lol. If anyone has any suggestions on the color thing, it'd be greatly appreciated. thanks!

This post has been edited by Cruciamentum: 21 April 2008 - 02:53 PM


Is This A Good Question/Topic? 0
  • +

Page 1 of 1