Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

Any way to style a listbox?

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