Thread: Width of rows in table.
Results 1 to 2 of 2
Sum of table rows will appear in a textfield Forum: PHP ForumReplies: 1
Is it possible to increment the table rows automatically? Forum: HTML ForumReplies: 1
How to increment the table rows Dynamically? Forum: HTML ForumReplies: 1
table with exact width problem... Forum: HTML ForumReplies: 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>
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).
01-18-2004, 05:10 AM #2bald headed old fart
- Aug 2003
- chertsey, a small town 25 miles south west of london, england.
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>
unless it contains a word whose length
is greater than 50px, in which case the cell will
expand to accommodate it