Solved

change both border & font colors in dropdown box

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

Should work
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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 how to create an extensible mechanism for linked drop downs.
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
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…

710 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