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
Solved

change both border & font colors in dropdown box

Posted on 2009-03-30
1
296 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 500 total points
ID: 24024455
.dropDown
{
        color:#eaa3b3;
        border: 1px solid Red;
}

Should work
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

840 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