SunQuest
 
           Programming Tools
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingProgramming Tools

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
  #1  
Old June 10th, 2003, 10:26 AM
P3x P3x is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 9 P3x User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question HTML table layout problem

Hello, I am not sure if this is the correct place to post this question, but I could not find a better place so here goes!

I have a table on my website with 4 cells. The top left cell contains a picture, the bottom left contains another table with some text (I'll call this table A). The top right cell is merged with the bottom right cell (so that is one cell :P) and it contains a table with some text (I'll call this table B).

The problem arises when I resize table B. When I drag it down then table A moves with it, not all the way to the bottom but it seems to center in the middle somehow. I have vertical align of that cell set to top as with all the other cells...

please help me out here, it will be greatly appreciated!

regards,
P3x

Reply With Quote
  #2  
Old June 10th, 2003, 02:13 PM
dfano dfano is offline
Always Learning (I Think)
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: NYC Baby!!!!
Posts: 123 dfano User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Send a message via AIM to dfano Send a message via Yahoo to dfano
Try this:

In table A create a third "cell" <td> at the bottom so you will have
3 on the left and 1 on the right. Give the top and middle ones on the left, pixel height. The bottom one you can set to a height of 100% or 0% and that should leave the top 2 alone.

Hope this helps,

Dave

Reply With Quote
  #3  
Old June 10th, 2003, 02:52 PM
CHornJr's Avatar
CHornJr CHornJr is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Location: New York City
Posts: 233 CHornJr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 50 m 19 sec
Reputation Power: 6
Send a message via AIM to CHornJr Send a message via MSN to CHornJr Send a message via Yahoo to CHornJr
Have you thought about using css for your layout?
__________________
CHornJr
"One day I'll know what I am doing"
My Blog
Suanhacky Lodge #49
Rebel Squadrons

Reply With Quote
  #4  
Old June 10th, 2003, 05:38 PM
FrankieShakes FrankieShakes is offline
Frank The Tank!
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: Jun 2002
Location: Toronto, Canada
Posts: 1,246 FrankieShakes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Send a message via ICQ to FrankieShakes Send a message via MSN to FrankieShakes
Quote:
Originally posted by CHornJr
Have you thought about using css for your layout?


I agree with CHornJr,

A lot of the times, issues that don't work well with using in-line code work themselves out when using CSS... You may encounter problems in other browsers, so I suggest you test out your pages in any browser you wish to support... And if possible, use strict and compliant CSS.

HTH!
__________________
____________________________________________
Developer Shed Weekly Writer | DevArticles Forum Moderator
Build Your Own KlipFolio Klip With PHP
FrankManno.com - Under Construction
Design Interactive Group - Under Construction

Reply With Quote
  #5  
Old June 11th, 2003, 12:07 AM
dfano dfano is offline
Always Learning (I Think)
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: NYC Baby!!!!
Posts: 123 dfano User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Send a message via AIM to dfano Send a message via Yahoo to dfano
Dont waste your time with my suggestion. go with the css these guys really know what they are talking about. so many people help me on this site, so I try to pitch in a few cents here and there to keep the cycle going. but usually when I post a reply with in a few minutes and better solution is posted. So,, sorry if what i wrote was not the best solution, that is just how I would have done it (which i now know thanks to this site there are better ways to do it).

Can you guys post an example of what the css code would look like for that.

Thanks for all the good info, and sorry for the long posts (and so-so info)

Dave

Reply With Quote
  #6  
Old June 11th, 2003, 02:08 AM
stumpy's Avatar
stumpy stumpy is offline
May contain nuts.
Dev Articles Regular (2000 - 2499 posts)
 
Join Date: Aug 2002
Location: Sydney, AU
Posts: 2,058 stumpy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 6 m 11 sec
Reputation Power: 8
Send a message via ICQ to stumpy Send a message via MSN to stumpy
P3x - is the site live anywhere where we can check it out?

I'm still not sold on the whole CSS-P (positioning) thing - I have yet to see the benefits, and consequently still love using tables.
__________________
DevArticles Moderator
BlueSix - Web Development and Consulting

Reply With Quote
  #7  
Old June 11th, 2003, 04:58 AM
P3x P3x is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 9 P3x User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks!

Thanks! I *did* try the '100% emtpy fill cell' trick and it worked great! The site is not live anywhere yet. I also tried CSS positioning for a while but since many people who viewed that site used netscape 4.x that didn't go down too well. Im convinced that CSS is THE method to use for positioning but I just can't get it to work on all browser types.

Thanks for all the suggestions!

regards,

P3x

Reply With Quote
  #8  
Old June 11th, 2003, 06:42 AM
dfano dfano is offline
Always Learning (I Think)
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: NYC Baby!!!!
Posts: 123 dfano User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Send a message via AIM to dfano Send a message via Yahoo to dfano
WOW

HOLY CRAP i got one right!!!!! (sort of)

Reply With Quote
  #9  
Old June 11th, 2003, 03:34 PM
CHornJr's Avatar
CHornJr CHornJr is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Location: New York City
Posts: 233 CHornJr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 50 m 19 sec
Reputation Power: 6
Send a message via AIM to CHornJr Send a message via MSN to CHornJr Send a message via Yahoo to CHornJr
Re: Thanks!

Quote:
Originally posted by P3x
Thanks! I *did* try the '100% emtpy fill cell' trick and it worked great! The site is not live anywhere yet. I also tried CSS positioning for a while but since many people who viewed that site used netscape 4.x that didn't go down too well. Im convinced that CSS is THE method to use for positioning but I just can't get it to work on all browser types.

Thanks for all the suggestions!

regards,

P3x


Glad you got the tables working. If you want to continue looking into CSS and getting it to work with both Netscape and IE(normally getting it to work in both of these covers the others as well, but not always) head over to www.w3.org. It has all the standards for CSS (believe or not is pretty easy to follow most of the time) and a CSS validator which may be of some use.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingProgramming Tools > HTML table layout problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway