Solved

Background image styling on select menu

Posted on 2008-10-22
3
951 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Web forms being filled out by bots 4 34
Botom of page is wrong color 5 11
Save ms data to server side. 19 43
alert(innerHTML); 8 16
So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
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…
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…

773 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