Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Any way to style a listbox?

  • 03-05-2010 09: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