PDA

View Full Version : Dynamic combo box causing alignment problems?


AbsolutMauser
06-26-02, 23:05
I have a web page generating the elements of jump menu dynamically from a database like so


//<form ...>
//<select ...>Expertise</select>
//<%while statement generating Responses of <select>whatever</select> for the whole list of menu items%>
//</form>

all within the cell of a table

When the page is loaded (regardless of browser), the combo box thus generated makes the cell twice the combo box's height and aligns itself with the top of the cell no matter what the valign settings are. All attempts to peg the cell size with width and height have failed. What could be causing this? Thx

~AbM

JonathanB
06-27-02, 10:50
It will most likely by the </form> tag. Try putting this after you close the cell.

AbsolutMauser
06-30-02, 18:55
Originally posted by JonathanB
It will most likely by the </form> tag. Try putting this after you close the cell.

That seems to have done it. Thanks. BTW, is it necessary to close <td> tags?

~AbM

JonathanB
07-01-02, 05:20
Depends on the client browser really... but it's always a good idea to close them :)