Solved

Background image styling on select menu

Posted on 2008-10-22
3
947 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
Comment Utility
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
Comment Utility
Hi,

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

Cheers
0
 
LVL 82

Accepted Solution

by:
hielo earned 500 total points
Comment Utility
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

As a result of several questions about how to use Bootstrap I thought it would be a good idea to write down the development aspect of creating a Bootstrapped website in as little time as possible. Part 1 of this article will only concentrate on g…
This article discusses how to create an extensible mechanism for linked drop downs.
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…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

763 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now