Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
New here, table scaling problem
Old 08-24-2006, 04:08 PM New here, table scaling problem
Junior Talker

Posts: 3
Trades: 0
Hi everyone... new to the forums, but in no way new to html/css/php/asp/coding/whatever.

This is a rather simple question, but in all my years of experience I've never been able to figure it out.

Lets say I have a table that looks something like this:

Code:
<table>
<tr>
<td></td>
<td rowspan="2"></td>
</tr>
<tr>
<td></td>
</tr>
</table>
In other words, I have one column with two cells and one column with one cell.
Now, as the larger (2 rowspan) right cell fills with content, BOTH left cells scale vertically. Is there ANY way to make only ONE of left cells scale?

Lets say I want the top left cell to remain at a height of 25px, no matter how large the right cell becomes. How can I do this? I've been working around this problem for years, and I'm tired of it!

Thanks for any input.

Sarbae

Last edited by Sarbae; 08-24-2006 at 04:12 PM..
Sarbae is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-24-2006, 08:34 PM Re: New here, table scaling problem
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Quote:
Lets say I want the top left cell to remain at a height of 25px, no matter how large the right cell becomes. How can I do this?
You can't. That is the nature of tables.
Quote:
I've been working around this problem for years, and I'm tired of it!
Then maybe you should consider DUMPING the 1997 table layouts and come to the 21st century and use HTML and CSS for layout
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 08-24-2006, 09:24 PM Re: New here, table scaling problem
kIDJOE's Avatar
Extreme Talker

Posts: 186
Location: Hollywood, CA
Trades: 0
Quote:
Then maybe you should consider DUMPING the 1997 table layouts and come to the 21st century and use HTML and CSS for layout
True!

or you can make a table inside the first table... it works but people are hating that.
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE

kIDJOE is offline
Reply With Quote
View Public Profile Visit kIDJOE's homepage!
 
Old 08-24-2006, 10:09 PM Re: New here, table scaling problem
Junior Talker

Posts: 3
Trades: 0
I first designed the site using CSS table-less layout but the issue of cross-browser compatability coupled with the nature of my design demanded a switch to classic tabled design. I at first used solely nested tables, since I despise rowspan and colspan attributes, but each browser seems to render borders of nested tables differently. I suppose I'll go back to the tables-within-tables design, and use extra cells instead of borders...

If only we could all agree on a common browser. I can't wait until at least Safari (i.e. the worst browser EVER) is phased out with the upcoming yet overly delayed demise of the Mac OS platform.

Thanks for the replies. I knew it couldn't be done, but I was hoping someone could prove me wrong.

Last edited by Sarbae; 08-24-2006 at 10:13 PM..
Sarbae is offline
Reply With Quote
View Public Profile
 
Old 08-25-2006, 02:08 AM Re: New here, table scaling problem
saadatshah's Avatar
Extreme Talker

Posts: 215
Name: Syed Saadat Ali
Location: Lahore, Pakistan
Trades: 0
Try using the Appropriate CSS Level for you.
__________________
- -- --- ---- ----- ------ ------- ---------------
If you have knowledge, let others light their candles in it.
saadatshah is offline
Reply With Quote
View Public Profile Visit saadatshah's homepage!
 
Old 08-25-2006, 02:28 PM Re: New here, table scaling problem
kIDJOE's Avatar
Extreme Talker

Posts: 186
Location: Hollywood, CA
Trades: 0
and for the tables rendering issue you make sure you set the cellpadding and cellspacing. You can Mix Tabels and CSS style your TD and Tables with CSS. Its OK
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE

kIDJOE is offline
Reply With Quote
View Public Profile Visit kIDJOE's homepage!
 
Old 08-25-2006, 02:32 PM Re: New here, table scaling problem
Junior Talker

Posts: 3
Trades: 0
Well some browsers render css-defined cell borders INSIDE the cell while others render the borders OUTSIDE the cell... 1px off makes a world of difference.
Sarbae is offline
Reply With Quote
View Public Profile
 
Old 08-25-2006, 02:35 PM Re: New here, table scaling problem
kIDJOE's Avatar
Extreme Talker

Posts: 186
Location: Hollywood, CA
Trades: 0
true but you can set your borders to SOLID and they will render the same

border-style:solid; border-width:1px; border-color:cyan;

try that
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE

kIDJOE is offline
Reply With Quote
View Public Profile Visit kIDJOE's homepage!
 
Old 08-25-2006, 02:58 PM Re: New here, table scaling problem
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Quote:
but the issue of cross-browser compatability coupled with the nature of my design demanded a switch to classic tabled design.
meh.. I'm not buying that one. Since I can't see the actual design it's impossible to make any kind of recommendations. Cross-browser isn't all THAT hard, IF you make it work in FF and Opera first, then fix for the very bad IE.

As for the border, this will do:
border: 1px solid cyan; - save yourself the extra lines.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 08-26-2006, 09:50 PM Re: New here, table scaling problem
ChipJohns's Avatar
I don't know! Do you?

Posts: 488
Name: Chip Johns
Location: Savannah Georgia
Trades: 0
I'm not buying it either LadynRed!

CSS isn't perfect. But its much better in every way.

What we need to remember is that there is a learning curve. At first you will be
making designs that are not as technical as you would like. DON'T REVERT
BACK TO TABLES!
If you do, you will never learn how to use css effectively and
efficiently. In time you will get there.

In the good old days, we (basically) only had netscape and ie. But getting
pages to look the same (using tables) in the two took a lot of time and
pepto-bismal... There are many more compatibility issues with table built sites
vs. css sites.
ChipJohns is offline
Reply With Quote
View Public Profile Visit ChipJohns's homepage!
 
Old 08-27-2006, 03:33 PM Re: New here, table scaling problem
menerweb's Avatar
Extreme Talker

Posts: 150
Trades: 0
In my 7 years web designing experience, I think, the most important and useful things that I learned are extensible hyper text markup language (xhtml) and cascading syle sheets (css).

Using tables for designing a web site isn't a good way. After learning to code, designing with divisions (div) and cascading style sheets is very simple. And changing the whole site's design is very simple too.

So I recommend everyone learning Xhtml, Css and tableless design with divs and css...
__________________
Portfolio:
Please login or register to view this content. Registration is FREE
| About Forex:
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Last edited by menerweb; 08-27-2006 at 03:36 PM.. Reason: Wrong sentence :)
menerweb is offline
Reply With Quote
View Public Profile Visit menerweb's homepage!
 
Reply     « Reply to New here, table scaling problem
 

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.32775 seconds with 12 queries