This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "vertical checkbox display" Watch "vertical checkbox display" New topic

vertical checkbox display

Don boscoo

Joined: Sep 20, 2010
Posts: 28

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

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60800

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

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Eric Pascarello

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

You should also look into using labels.

subject: vertical checkbox display
Similar Threads
What American Accent Do You Have?
Problem with iframe in mozilla browser
JSP Page to know what it does
how to use javascript to download the file automatically?
Redirecting a page