Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

change both border & font colors in dropdown box

Posted on 2009-03-30
1
Medium Priority
?
314 Views
Last Modified: 2012-05-06
so basically i want 2 different colors in my dropdown box 1 for the border another for the font...heres a copy of my code

i tried doing border-color & color at the same time but one would override the other and in the end both the font & the border are of the same color

i just want it to have a thin solid border of #eaa3b3 & a font color of #f87086

thanksss
.dropDown
{
	color:#eaa3b3;
	border:thin;
	border-style:ridge;
}

Open in new window

0
Comment
Question by:Abyssmal
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 11

Accepted Solution

by:
level9wizard earned 2000 total points
ID: 24024455
.dropDown
{
        color:#eaa3b3;
        border: 1px solid Red;
}

Should work
0

Featured Post

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Find out what you should include to make the best professional email signature for your organization.
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question