Lenght Problem |
Lenght Problem |
theJ |
Jul 18 2010, 05:30 PM
Post
#1
|
Group: Members Posts: 1 Joined: 18-July 10 Member No.: 12,326 |
I have this code on my homepage:
CODE <table border="0"> <tr> <td> <div style="border: 2px solid #000000; padding: 10px; color: #000000; width: 200px;">Content #1<br />Content #1</div> </td> <td> <div style="border: 2px solid #000000; padding: 10px; color: #000000; width: 200px;">Content #2<br /> Content #2<br />Content #2<br />Content #2<br />Content #2<br />Content #2<br />Content #2<br />Content #2</div> </td> </tr> </table> It looks like that: How can i modify the code so the first box has the same size than the second? |
Darin McGrew |
Jul 18 2010, 06:01 PM
Post
#2
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
The easy way would be to put the border around the TD element, rather than around the DIV element.
|
Lo-Fi Version | Time is now: 25th April 2024 - 01:54 PM |