Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to remove lines in select box for mozilla browsers

Status
Not open for further replies.

justride

Programmer
Jan 9, 2004
251
US
Hi,

My select boxes have ugly horizontal lines within em unlike ie. how can I fix this?

Thanks,
Chris
 
I never have any horizontal lines in select boxes. Can you show us your affected code? Do you apply rule to underline the stuff in the select box? Is it wrapped inside an anchor element? That is the only reason for me to think you would have superflous lines there.
 
well the css is for the border on the box right?
 
the CSS from your OPTION definition has border specifications. that is why you're seeing these amazing "lines". you can have a border specified to your SELECT tag - which will give normal borders around the box itself.

defining borders around the option element will do exactly what you're seeing.

*cLFlaVA
----------------------------
[tt]your mom goes to college[/tt]
[URL unfurl="true"]http://www.coryarthus.com/[/url]
[banghead]
 
sweet, any idea why the scroll bars show up in firefoox when they arent needed?
 
thats didnt work, but thanks so much for your help.

one last thing, the "subsystem" and the additional comments fields are set to 100% but they fall short of it in the browsers, any idea why?

Thanks Again!
 
most likely has to do with the padding of the surrounding parent element, or the margin of the element itself.

ensure that the paddings/margins are set appropriately.

*cLFlaVA
----------------------------
[tt]your mom goes to college[/tt]
[URL unfurl="true"]http://www.coryarthus.com/[/url]
[banghead]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top