Solved

Background image styling on select menu

Posted on 2008-10-22
3
954 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
[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
  • 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Need help with this homework problem. 5 77
w3c parsing errors 4 36
Add Rows on a Table 8 53
Importing website from Wordpress into updated theme 3 35
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
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 code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

739 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