Forums.Counter-Strike.com | Counter-Strike Community Forums

Go Back   Forums.Counter-Strike.com | Counter-Strike Community Forums > Miscellaneous > Off Topic > Web Design
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

COD4 Servers
Reply
 
LinkBack Thread Tools Search this Thread
Old 11-01-2006, 06:17 AM   #1 (permalink)
noas
Member
Counter-Terrorist
 
noas's Avatar
 
Join Date: Nov 2006
Posts: 129
Thumbs up A little help with HTML tables

Hi

I have 3 tables next to each other, which are all surrounded by another table. The code being something like:

<table>
<tr><td width="34%">

<table border="0" cellpadding="3" cellspacing="1" class="border">
<tr>
<td valign=middle align=center>
CONTENT HERE
</td>
</tr>
</table>

</td><td width="36%">

<table border="0" cellpadding="3" cellspacing="1" class="border">
<tr>
<td valign=middle align=center>
CONTENT HERE
</td>
</tr>
</table>

</td><td width="30%">

<table border="0" cellpadding="3" cellspacing="1" class="border">
<tr>
<td valign=middle align=center>
CONTENT HERE
</td>
</tr>
</table>

</td></tr></table>

Each table has a different amount of content (CONTENT HERE). My problem is that when the screen resolution is changed the tables become thicker or thinner, so there heights change. I want to know if there is a way to code it so that each table with content is always the same height?

Any advice would be great!
noas is offline   Reply With Quote
Old 11-09-2006, 09:02 PM   #2 (permalink)
Watdaflip
Moderator
Da Bomb
 
Join Date: Nov 2006
Location: Ohio, USA
Posts: 818
Default Re: A little help with HTML tables

Well first off add quotes around
<td valign=middle align=center>

to be

<td valign="middle" align="center">

Will you post the style info for border, that might very well be causing a problem.

If all else fails, instead of using a %, set it to a defined amount of pixels. The majority of the people these days have a resolution of 800x600 or higher, and the vast majority of websites are designed with that to be the minimum resolution.
Watdaflip is offline   Reply With Quote
Old 11-13-2006, 06:19 PM   #3 (permalink)
Saturnsix
Member
Terrorist
 
Saturnsix's Avatar
 
Join Date: Nov 2006
Posts: 81
Default Re: A little help with HTML tables

did this work?

__________________
Offical Clan Website: http://KhaosLegendsGaming.Nuclearfallout.Net

Get A 100 Tick Server For Only $ 1.99 Per Slot & Enjoy The Best Hosting Ever

---> http://www.Counter-Strike.com/affili...ate.php?id=108
Saturnsix is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -5. The time now is 10:54 AM.



Powered by vBulletin Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC5
Free Clan Websites and Template Hosting