This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes vertical checkbox display Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "vertical checkbox display" Watch "vertical checkbox display" New topic
Author

vertical checkbox display

Don boscoo
Greenhorn

Joined: Sep 20, 2010
Posts: 28
Hi

I have three scrollable divs which has checkboxes and values comes from the database.




Now, i want to display the checkboxes vertically, but am getting the check with two columns like

checkbox checkbox
checkbox checkbox
checkbox checkbox





how do i display the checkboxes vertically in one column. please help

Thanks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56554
    
  14

Showing JSP markup in an HTML forum is not helpful. Please post the generated HTML (nicely formatted) rather than server-side markup.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15362
    
    6
Either wrap them in a block element [aka div] or add a break.

You should also look into using labels. https://developer.mozilla.org/en/HTML/Element/label

Eric
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: vertical checkbox display
 
Similar Threads
how to use javascript to download the file automatically?
JSP Page to know what it does
Problem with iframe in mozilla browser
What American Accent Do You Have?
Redirecting a page