Thread: Width of rows in table.
Results 1 to 2 of 2
Related
-
Sum of table rows will appear in a textfield Forum: PHP Forum
Replies: 1 -
Is it possible to increment the table rows automatically? Forum: HTML Forum
Replies: 1 -
How to increment the table rows Dynamically? Forum: HTML Forum
Replies: 1 -
table with exact width problem... Forum: HTML Forum
Replies: 4
-
01-18-2004, 02:24 AM #1
Width of rows in table.
Sorry about my grammer,
English isn't my mother language.
Hello please see this short source Code:
<table border=1 width=100%>
<tr><td width=50px>a</td><td> </td></tr>
<tr><td>a affdg<td><img></td>
</table>
The browser (IE) doesn't understand what I want to do.
I want that the left cell in the first row will be only 50px. At you can see if I write only one letter in the left cell in the second row, it will be 50px, but when I write "a affdg..." the cell expand to more than 50px, I can't write <br> because this is dynamic text (that computed in ASP).
Thank you,
Aminadav
-
01-18-2004, 05:10 AM #2bald headed old fart
Status- Offline
Join Date- Aug 2003
Location- chertsey, a small town 25 miles south west of london, england.
Posts- 739
Hi there Aminalaizer,
Your English is fine
Your coding will improve with time
<table border="1" width="100%">
<tr><td width="50"px is not needed here>a</td><td> </td></tr>
<tr><td width="50">a affdg</td><td><img></td></tr>
</table>
unless it contains a word whose length
is greater than 50px, in which case the cell will
expand to accommodate it
cthead
Cloudjiffy- PaaS for Developers
10-05-2020, 12:30 AM in Web Hosting Forum