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

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -