The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Lenght Problem
theJ
post 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:
Attached Image

How can i modify the code so the first box has the same size than the second?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post 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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 25th April 2024 - 01:54 PM