wood burning stoves 2.0
The moose likes HTML, CSS and JavaScript and the fly likes Formatting of 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 "Formatting of tables" Watch "Formatting of tables" New topic

Formatting of tables

Y Cheong

Joined: Jan 19, 2003
Posts: 9
Please can anyone help with the formatting of tables. I use tables both for the classic use of storing data in a table format and also for page layout.
I have been using spacers (transparent gifs) to set the width and height of my rows and columns. I was wondering whether alternative ways such as using the width and height attributes of <tr> and <td> using a specified value are bad and not to be used.
Is it also not correct practice to use percentages to specify the widths?
Please help
christoph weingarten
Ranch Hand

Joined: Oct 10, 2002
Posts: 39
you can specify a cells width/height by using this attributes for table td/th-tags. you can use absolute and relative values here. it's syntactical correct html!
but if you have to layout a html-page it's probably better to use blind gifs.
some browsers will crush your table, even though you added width- or height-paramters within your td-tag.
I agree. Here's the link: http://aspose.com/file-tools
subject: Formatting of tables
It's not a secret anymore!