File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
width of a table
Joined: Jan 12, 2005
Oct 20, 2008 13:24:00
i am fed up with this. trying to set width of table but can't get it right.
<table border="1" cellpadding="0" cellspacing="1" width="100%"> <tr> <td>Date 1</td> <td width="100px"> Date 2fdsafffffffffffffffffffffffffffffffffffffffffffffffffffffffffffjdjklsahfjkhsdajklfhjklsdahfjkhsdjkalfhjksdahfjklsdhajklfhsdjklafhjklsdahfjklhsdajkfhjksdahfjklsdhajkfhsduhygtuisfyvgjksdfhjkldladfhjklsdahfjklsadhfdafasfsafg </td> <td>Date 3 </td> </tr> </table>
here, my second column streth even though i specified width in pixel.
i thought width would be fixed and height would be streth.
Joined: Nov 08, 2001
Oct 20, 2008 13:41:00
only way to get it to work would be to insert
tags into that long
or insert whitespaces.
I agree. Here's the link:
subject: width of a table
HTML Table Column Widths
++ appears before my table??
Positioning the column in the table
JSP and XML
EL algorithm help
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014