Reputation: 1381
I am having two label select
in a div
but only one is showing. Is there anything wrong with this ?
<div id="ElementDetails">
<label id = "ElementOne">Element_1 :</label>
<select id="elementOptionOne">
<label id = "ElementTwo">css Selector :</label>
<select id="elementOptionTwo">
</div>
Upvotes: 0
Views: 236
Reputation: 4100
Your selects elements are not closed. You need to close them before using an other label :
<div id="ElementDetails">
<label id="ElementOne">Element_1 :</label>
<select id="elementOptionOne">
</select>
<label id="ElementTwo">css Selector :</label>
<select id="elementOptionTwo">
</select>
</div>
Upvotes: 5