JavaScript and client side scripting.
Moderator: General Moderators
Sphen001
Forum Contributor
Posts: 107 Joined: Thu Mar 10, 2005 12:24 pm
Location: Land of the Beaver
Post
by Sphen001 » Tue Jun 14, 2005 3:52 pm
Hi,
I've got four tables in a row on my site, but they are all different sizes. Each table has the tag;
Code: Select all
<table class="e;tablebg"e; width="e;90%"e; align="e;center"e; border="e;0"e; cellspacing="e;1"e; cellpadding="e;1"e;>
However, no matter what I do, they aren't the same size. The URL of this page is:
http://phpgamedev.sourceforge.net/docs/db_readme.php
I would be grateful for any and all advice.
Thanks
Sphen001
Last edited by
Sphen001 on Tue Jul 12, 2005 9:25 pm, edited 1 time in total.
Skara
Forum Regular
Posts: 703 Joined: Sat Mar 12, 2005 7:13 pm
Location: US
Post
by Skara » Tue Jun 14, 2005 4:10 pm
I've got four tables in a row...
erhm... column.
They're all the same for me in both Firefox and IE. If you really have problems, though, just put them all in one big table that's 90% wide, then make each of those tables 100%.
Sphen001
Forum Contributor
Posts: 107 Joined: Thu Mar 10, 2005 12:24 pm
Location: Land of the Beaver
Post
by Sphen001 » Tue Jun 14, 2005 4:15 pm
Sorry. By row, I meant column.
I had thought of using a big table, but I'm trying to get away from using tables for layout, using CSS instead, for accessibility.
Thanks anyway though.
Sphen001
EDIT: It only happens on certain resolutions. It works fine on 1152 * 864, but on 800 * 600 it doesn't work.
Thanks for any info.
Skara
Forum Regular
Posts: 703 Joined: Sat Mar 12, 2005 7:13 pm
Location: US
Post
by Skara » Tue Jun 14, 2005 4:29 pm
aha... *moves it around* Yeah, I notice the difference. The problem is, some of the tables are reaching their minimum width. Either use divs instead of tables, or use one big div at 90% and the tables at 100%. I
think that second one will work.
Sphen001
Forum Contributor
Posts: 107 Joined: Thu Mar 10, 2005 12:24 pm
Location: Land of the Beaver
Post
by Sphen001 » Tue Jun 14, 2005 5:09 pm
Hi,
Thanks for the advice. I've never used Div's, though I've heard a lot about them.
I'll give it a go.
Thanks for your help
Sphen001
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098 Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia
Post
by Chris Corbyn » Tue Jun 14, 2005 5:13 pm
Sphen001 wrote: Hi,
Thanks for the advice. I've never used Div's, though I've heard a lot about them.
I'll give it a go.
Thanks for your help
Sphen001
Easy peasy mate!
Try to get into the habit of using them as much as possible. They're just boxes at the end of the day
Sphen001
Forum Contributor
Posts: 107 Joined: Thu Mar 10, 2005 12:24 pm
Location: Land of the Beaver
Post
by Sphen001 » Tue Jun 14, 2005 6:02 pm
d11wtq wrote: Easy peasy mate!
???
d11wtq wrote: Try to get into the habit of using them as much as possible. They're just boxes at the end of the day
Good to know
Sphen001