I have created web-application using JSF 2.0 where I have checkbox to select as \[code\]h:selectManyCheckbox\[/code\]. Below is what I have as code\[code\]<h:selectManyCheckbox value="http://stackoverflow.com/questions/12752309/#{UserRegistration.pagesSelected}" id="myPages"> <f:selectItem itemValue="http://stackoverflow.com/questions/12752309/registerForPatentss" itemLabel="Register New Applicant"/> <f:selectItem itemValue="http://stackoverflow.com/questions/12752309/success" itemLabel="Register New Project" /> <f:selectItem itemValue="http://stackoverflow.com/questions/12752309/getReportss" itemLabel="Patent Reports" /> <f:selectItem itemValue="http://stackoverflow.com/questions/12752309/searhPatentss" itemLabel="Search For Project" /> <f:selectItem itemValue="http://stackoverflow.com/questions/12752309/addUserss" itemLabel="Add User Account" /> <f:selectItem itemValue="http://stackoverflow.com/questions/12752309/logPatentSystemss" itemLabel="System Log" /> <f:selectItem itemValue="http://stackoverflow.com/questions/12752309/userlistss" itemLabel="Details Of Registered Users" /></h:selectManyCheckbox> \[/code\]Output I get is \[code\][] Register New Applicant [] Register New Project [] Patent Reports [] Search For Project [] Add User Account [] System Log [] Details Of Registered Users\[/code\]The problem is This is on ONE LINE. What I want is as below.\[code\][] Register New Applicant [] Register New Project [] Patent Reports [] Search For Project[] Add User Account [] System Log [] Details Of Registered Users\[/code\]i.e. 4 checkboxes on one line....Any idea how to get this done?Edit 1HTML generated output is \[code\]<table id="myPages"> <tr><td><input name="myPages" id="myPages:0" value="http://stackoverflow.com/questions/12752309/registerForPatentss" type="checkbox" checked="checked" /><label for="myPages:0" class=""> Register New Applicant</label></td><td><input name="myPages" id="myPages:1" value="http://stackoverflow.com/questions/12752309/success" type="checkbox" checked="checked" /><label for="myPages:1" class=""> Register New Project</label></td><td><input name="myPages" id="myPages:2" value="http://stackoverflow.com/questions/12752309/getReportss" type="checkbox" checked="checked" /><label for="myPages:2" class=""> Patent Reports</label></td><td><input name="myPages" id="myPages:3" value="http://stackoverflow.com/questions/12752309/searhPatentss" type="checkbox" checked="checked" /><label for="myPages:3" class=""> Search For Project</label></td><td><input name="myPages" id="myPages:4" value="http://stackoverflow.com/questions/12752309/addUserss" type="checkbox" checked="checked" /><label for="myPages:4" class=""> Add User Account</label></td><td><input name="myPages" id="myPages:5" value="http://stackoverflow.com/questions/12752309/logPatentSystemss" type="checkbox" checked="checked" /><label for="myPages:5" class=""> System Log</label></td><td><input name="myPages" id="myPages:6" value="http://stackoverflow.com/questions/12752309/userlistss" type="checkbox" /><label for="myPages:6" class=""> Details Of Registered Users</label></td> </tr></table>\[/code\]