border on <select>
Im trying to give my drop down tag a solid border just like on my input boxes;
but the styling on the doesnt seem to work. How can i get a solid border on it?
Im trying to give my drop down tag a solid border just like on my input boxes;
but the styling on the doesnt seem to work. How can i get a solid border on it?
kazimmerman posted this at 01:53 — 27th July 2006.
He has: 698 posts
Joined: Jul 2005
I don't think some CSS works on the select tag currently. Don't ask me why though. I remember back when I was starting out with CSS I wanted to do the same thing and it doesn't work. I know you can set colors and background colors but not borders, and I'm not sure about widths...
Kurtis
Jack Michaelson posted this at 12:24 — 27th July 2006.
He has: 1,733 posts
Joined: Dec 1999
This is not possible. That is, not with regular CSS.
You might want to check this example of faking a select box with some javascripting:
http://www.easy-designs.net/articles/replaceSelect/
Shakespeare: onclick || !(onclick)
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.