Closed Thread
Results 1 to 10 of 10
Thread: Need table help??
-
06-21-2008 07:41 PM #1
Junior Member
- Join Date
- Jun 2008
- Posts
- 11
- Downloads
- 0
- Uploads
- 0
Need table help??
<table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0">
<tr><td width="50%" valign="top">
<h2 style="border-right: 0;">Board Stats</h2>
<div class="box" width="100%" style="border-right: 0;">
Total Users: <strong>1</strong><br />
Total Topics: <strong>2</strong><br />
Total Posts: <strong>2</strong><br />
Newest Member: <strong><a href="profile.php?id=2">Mike</a>
</div></td><td width="50%" valign="top">
<h2 style="border-left: 0;">Users Online (
1 Users and 1 Guests)</h2>
<div class="box" style="border-left: 1px #838383 solid;;"><a href="profile.php?id=2">Mike</a>, </div>
</td>
</tr></table>
How can I make the cells have the same height? plz help me urgently i have to finish it within 2 days....
thanks
play war games Girly Myspace LayoutsLast edited by mkdocs; 06-21-2008 at 07:43 PM.
-
09-24-2008 09:37 AM #2
Banned
- Join Date
- Sep 2008
- Posts
- 16
- Downloads
- 0
- Uploads
- 0
thanks for that
-
09-24-2008 01:12 PM #3
Senior Member





- Join Date
- May 2007
- Posts
- 148
- Downloads
- 0
- Uploads
- 0
I always try to avoid the use of tables but if I were you I would try with adding this style property:
Code:table tr{ height:100px}
-
10-25-2008 01:53 PM #4
Banned
- Join Date
- Oct 2008
- Location
- UK
- Posts
- 13
- Downloads
- 0
- Uploads
- 0
-
10-22-2009 07:05 AM #5
Junior Member
- Join Date
- Oct 2009
- Posts
- 22
- Downloads
- 0
- Uploads
- 0
I never use tables. And I suggest you to use CSS instead. That is more flexible and easy in designing. If you master CSS you can easily design pages and position the elements where you wish
-
11-03-2009 01:55 AM #6
Junior Member
- Join Date
- Nov 2009
- Posts
- 10
- Downloads
- 0
- Uploads
- 0
<table width="100%" height="16%" cellpadding="0" cellspacing="0" border="0">
<tr><td width="50%" valign="top">
<h2 style="border-right: 0;">Board Stats</h2>
<div class="box" width="100%" style="border-right: 0;">
Total Users: <strong>1</strong><br />
Total Topics: <strong>2</strong><br />
Total Posts: <strong>2</strong><br />
Newest Member: <strong><a href="profile.php?id=2">Mike</a>
</div></td><td width="50%" valign="top">
<h2 style="border-left: 0;">Users Online (
1 Users and 1 Guests)</h2>
<div class="box" style="border-left: 1px #838383 solid;;"><a href="profile.php?id=2">Mike</a>, </div>
</td>
</tr></table>
see it i had set height as 16%
-
12-04-2009 09:00 PM #7webcs Guest
If you want a specific height you can't use percentages. You need to use pixels. If you want to use percentages, then try restraining the table INSIDE of another table with set dimensions, that way the inner table can vary using your percentages but the outer table will not vary.
-
12-11-2009 02:59 PM #8
Junior Member
- Join Date
- Dec 2009
- Posts
- 11
- Downloads
- 0
- Uploads
- 0
CSS is the answer! but you can specify height in tr's & td's with height=80 .... etc,,,
-
10-15-2010 11:33 AM #9
Junior Member
- Join Date
- Oct 2010
- Posts
- 15
- Downloads
- 0
- Uploads
- 0
Use CSS instead for tables.....
-
06-04-2011 08:49 AM #10
Banned
- Join Date
- Jun 2011
- Posts
- 11
- Downloads
- 0
- Uploads
- 0
you can either use css or apply height at row level
Similar Threads
-
Tips: safety of cooking
By tbbs08 in forum Buy, Sell or TradeReplies: 1Last Post: 09-24-2008, 11:29 AM -
Table or Layer
By misi in forum Webmaster MarketplaceReplies: 3Last Post: 01-21-2005, 02:12 PM


LinkBack URL
About LinkBacks



Bookmarks