File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


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

Formatting of tables

Y Cheong
Greenhorn

Joined: Jan 19, 2003
Posts: 9
Hi,
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
Y
christoph weingarten
Ranch Hand

Joined: Oct 10, 2002
Posts: 39
hi,
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.
christoph
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Formatting of tables
 
Similar Threads
html Frames in Applets
Image sizes not descreasing in xsl fo
Multiple Radio Objects
No Horizontal Scroll Bar
Can I specify the size of a col in a table?HTML