File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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: 15385
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.

It is sorta covered in the JavaRanch Style Guide.
subject: Fieldset alignment with tables