The MU forums have moved to

SELECT MULTIPLE and admin-header.php (3 posts)

  1. SteveAtty
    Posted 15 years ago #

    I'm working on some code and it uses a SELECT MUTLIPLE statement.

    This works fine until I include the line


    in my script. The minute I do that the the select multiple collapses onto a single line.

    So before I spend ages trying to work out what is going on... has anyone else come across this problem.

    Here is the code (stripped down)

    <SELECT NAME="toppings" MULTIPLE SIZE=5>
    <OPTION VALUE="mushrooms">mushrooms
    <OPTION VALUE="greenpeppers">green peppers
    <OPTION VALUE="onions">onions
    <OPTION VALUE="tomatoes">tomatoes
    <OPTION VALUE="olives">olives
  2. SteveAtty
    Posted 15 years ago #

    I've found the problem

    It is in wp-admin.css in the #wpcontent select

    #wpcontent select {
    	font: 12px/20px "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif;
    	padding: 2px;
    	border-width: 1px;
    	border-style: solid;
    	height: 2em;

    Its the height tag.

    Is there a specific reason why this is in there?

  3. lunabyte
    Posted 15 years ago #

    Dunno. Sounds like a WP core issue though.

About this Topic

  • Started 15 years ago by SteveAtty
  • Latest reply from lunabyte