
This would be my issue I have a drop down that’s not displaying fully. I’m not sure even where to start so here’s the HTML surronding the drop down and I’ll provide the CSS also.
HTML
<div id="add_item"> <ul class="vert"> <li> <ul class="horz"> <li class="name"> <select style="width: 195px; padding: 0px; margin: 0px;" disabled="disabled"> <option value=""></option> <option value="0">0</option> </select> </li> <li class="quantity"> <select style="width: 50px; padding: 0px; margin: 0px;" disabled="disabled"> <option value=""></option> <option value="0">0</option> </select> </li> </ul> </li> </ul> </div>
The reason the code has the drop down as being disabled is because it’s dynamic, the surrounding HTML is the same except for having options to choose from and no longer being disabled.
CSS
div#byitem ul.horz li.name { background:transparent none repeat scroll 0 0; display:block; font-size:11px; font-weight:bold; width:195px; } div#byitem ul.horz { background:transparent none repeat scroll 0 0; clear:left; list-style-type:none; margin:0; padding:0; } div#byitem ul.vert li { background:transparent none repeat scroll 0 0; height:14px; margin:0; padding:0; } div#byitem ul.vert { background:transparent none repeat scroll 0 0; list-style-type:none; margin:0; padding:0; width:540px; } element.style { margin-bottom:0; margin-left:0; margin-right:0; margin-top:0; padding-bottom:0; padding-left:0; padding-right:0; padding-top:0; width:195px; } #content form select { margin:0 0 4px 4px; z-index:1; } html, body, div, p, form, input, select, textarea, fieldset { -x-system-font:none; color:#333333; font-family:Arial,Helvetica,Verdana,sans-serif; font-size:11px; font-size-adjust:none; font-stretch:normal; font-style:normal; font-variant:normal; font-weight:normal; line-height:15px; } * { margin:0; padding:0; }
Thanks for any suggestions.
Edit
I’ve added the CSS for the divs that the drop downs are contained in. Also changing the line height doesn’t make a difference. The only difference between the two drop downs (Item and Quantity) is the width. Changing the width on Item doesn’t make a difference.
Took out the Add another item link as that was suspected to be a problem no change. Also I am doing my development in Firefox I just posted the screenshot from Safari.
It looks like you are setting ‘line-height:15px;’ on ‘select’ elements. Remove that and see if it fixes the issue.