PDA

View Full Version : help with tag code pls


chriskq
02-05-2006, 11:11 PM
select {
border: 1px solid #808080!important;
}

This code works for FireFox, but IE stil sets the border of my Select dropdown box to have that default shadow border. I cant see any conflicting issues in my css.

Has anyone had problems with this. Any help much appreciated.

domedia
02-05-2006, 11:17 PM
afaik you can't do this in IE. IE uses window control defaults set by the OS which can't be overridden by html/css. :?

chriskq
02-05-2006, 11:43 PM
thanks Dom, least i can stop pulling my hair out now.
think in IE 7 this will have changed?
thanks for quick reply aswel.

domedia
02-05-2006, 11:56 PM
I only had IE installed for a couple of hours.. Didn't have a chance to check that, but it sure would be nice if they did change it :)
The way IE handles select/option tags also means that no other html element can be on top of it (like a drop down menu, the drop down menu appears 'under' the select menu), so it's really annoying.