Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Any way to style a listbox?

Options
  • 03-05-2010 9:40pm
    #1
    Closed Accounts Posts: 12,382 ✭✭✭✭


    Hi all

    I hope someone can help me with this.

    I'm trying to style a listbox - I can get it to work in Firefox but it doesn't work in IE. (IE ignores most of it).

    I'm using something like this:
    .search-box select option {
    	width:200px;
    	margin:0;
    	padding:1px 1px 1px 1px;
    	color:#000;
    	font:14px Arial, Helvetica, sans-serif;
    	vertical-align: text-bottom;
    	border:1px solid #c6c6d4;
    }
    

    Is there any way I can style a listbox in IE, even using a JavaScript hack or something like that?

    Any advice gratefully appreciated.

    Thanks!


Comments

Advertisement