css - Labels layout in div -


<div id="combobox">     <label><input type="checkbox" id="tag3"         name="checkbox" onclick="toggletag('tag3')"/>dialogproc</label><br/>     <label><input type="checkbox" id="tag2"         name="checkbox" onclick="toggletag('tag2')"/>fds</label><br/> </div> 

i'm using div container checkboxes , labels. i'm using <br/> position 1 below another. there way have same layout without using <br/> (css)?

css:

#combobox label {     display:block; } 

then remove <br /> tags


Comments

Popular posts from this blog

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -