Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 08-20-2005, 07:32 AM   PM User | #1
Ultragames
Regular Coder

 
Join Date: Aug 2002
Location: Oregon, United States of America
Posts: 882
Thanks: 1
Thanked 9 Times in 9 Posts
Ultragames has a little shameless behaviour in the past
Select menu styling

Is there a way i can make a select menu not have a border? I tried border: 0px none #FFFFFF; but that did not work.

Any ideas?
__________________
If I'm postin here, I NEED YOUR HELP!!
Ultragames is offline   Reply With Quote
Old 08-20-2005, 08:08 AM   PM User | #2
Ranger56
Regular Coder

 
Ranger56's Avatar
 
Join Date: Mar 2005
Location: Kent, WA.
Posts: 783
Thanks: 0
Thanked 0 Times in 0 Posts
Ranger56 is an unknown quantity at this point
Code:
border:0;
__________________
Ranger56 is offline   Reply With Quote
Old 08-21-2005, 05:19 AM   PM User | #3
Ultragames
Regular Coder

 
Join Date: Aug 2002
Location: Oregon, United States of America
Posts: 882
Thanks: 1
Thanked 9 Times in 9 Posts
Ultragames has a little shameless behaviour in the past
The select menu still has a border with that in IE6.
__________________
If I'm postin here, I NEED YOUR HELP!!
Ultragames is offline   Reply With Quote
Old 08-21-2005, 07:22 AM   PM User | #4
rmedek
Senior Coder

 
Join Date: Nov 2003
Location: Minneapolis, MN
Posts: 2,879
Thanks: 2
Thanked 65 Times in 56 Posts
rmedek is on a distinguished road
The select bar is one where we're sort of at its mercy. You can do a few things to it, but for the most part browser preference takes precedent.
__________________
drums | web
rmedek is offline   Reply With Quote
Old 08-21-2005, 11:50 PM   PM User | #5
Ultragames
Regular Coder

 
Join Date: Aug 2002
Location: Oregon, United States of America
Posts: 882
Thanks: 1
Thanked 9 Times in 9 Posts
Ultragames has a little shameless behaviour in the past
even the !important modifier wont work on it?
__________________
If I'm postin here, I NEED YOUR HELP!!
Ultragames is offline   Reply With Quote
Old 08-22-2005, 01:39 AM   PM User | #6
rmedek
Senior Coder

 
Join Date: Nov 2003
Location: Minneapolis, MN
Posts: 2,879
Thanks: 2
Thanked 65 Times in 56 Posts
rmedek is on a distinguished road
I'm pretty sure. Did you try using it?
__________________
drums | web
rmedek is offline   Reply With Quote
Old 08-23-2005, 04:09 PM   PM User | #7
brothercake
Senior Coder


 
Join Date: Jun 2002
Location: near Oswestry
Posts: 4,508
Thanks: 0
Thanked 0 Times in 0 Posts
brothercake is an unknown quantity at this point
In Internet Explorer a <select> element is rendered by the operating system, not the browser, and so very few CSS properties work on it. You basically can't change the border or button at all - the best you can do is change the font, I think.

I started making a DHTML select menu once, but it's a dangerous thing to mess with - I couldn't get it so it perfectly emulated the native behaviors of the widget in each browser, because only Firefox reported enough events to do so - some states and movements simply couldn't be captured. Without perfect emulation of mouse and keyboard behaviors it creates usability and accessibility problems, so it's not safe.

We basically just have to live with it, I think - select elements are not pretty, but to end-users their predictable - they look the same as they do throughout the operating system - and that's ultimately more important.
__________________
"Why bother with accessibility? ... Because deep down you know that the web is attractive to people who aren't exactly like you." - Joe Clark
brothercake is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:41 PM.


Advertisement
Log in to turn off these ads.