Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

change both border & font colors in dropdown box

Posted on 2009-03-30
1
Medium Priority
?
318 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
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
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 code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …

824 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