Solved

Background image styling on select menu

Posted on 2008-10-22
3
948 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 500 total points
ID: 22777807
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
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 embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

912 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

17 Experts available now in Live!

Get 1:1 Help Now