Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes HTML, CSS and JavaScript and the fly likes Fieldset alignment with tables Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Fieldset alignment with tables" Watch "Fieldset alignment with tables" New topic

Fieldset alignment with tables

Sol Mayer-Orn
Ranch Hand

Joined: Nov 13, 2002
Posts: 311

I'd greatly appreciate advice on alignment/padding of <fieldset> tags:

I need to create a page, with 2 fieldsets placed next to each other, horizonally. The problem is, I can't get them to align heights.

Here's the html code which I use.
Note I use tables - I'm aware there's a recommendation to prefer CSS, but i'm maintaining an existing code, that already uses tables.
Anyway, a CSS solution would be welcome as well.

Thanks a lot.
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15376
You can delete your own topics! Edit the post and there is a checkbox to delete!

Look into CSS line-height and giving the cells a height.

I agree. Here's the link:
subject: Fieldset alignment with tables
Similar Threads
CSS on submit buttons and IE 'feature'
Weird CSS and AJAX behaviour
Fixed Table Header and changing classes
jquery accordion is causing jquery treeview picker to breakup
Forms and Table cells - are they compatible?