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

x
?
Solved

Background image styling on select menu

Posted on 2008-10-22
3
Medium Priority
?
957 Views
Last Modified: 2012-06-22
Hi,

Is it possible to style a select menu in IE6.
I have used the css property background: to successfully style it in firefox but it doesnt work in IE6. (havent checked ie7 or beyond)

Any ideas?

0
Comment
Question by:coolispaul
  • 2
3 Comments
 
LVL 82

Expert Comment

by:hielo
ID: 22777094
you mean the select tag? The code below works for me:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
 "http://www.w3.org/TR/html4/loose.dtd"> 
<html>
<head>
<title></title>
<style type="text/css">
<!--
select{
	background-color:yellow;
	font-weight:bold;
	text-decoration:underline;
}
-->
</style>
</head>
<body>
<form>
<select><option>select</option><option>a</option><option>b</option></select>
</form>
</body>
</html>

Open in new window

0
 

Author Comment

by:coolispaul
ID: 22777185
Hi,

Can you put a background image on it in IE6 though?

Cheers
0
 
LVL 82

Accepted Solution

by:
hielo earned 1500 total points
ID: 22777807
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
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 …
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…

926 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