CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 15th, 2004, 05:52 AM
BugMeNot BugMeNot is offline
Banned
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 42 BugMeNot User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 52 m 39 sec
Reputation Power: 0
How to get min-height on table

Hi there,

I would like to give a table a minimum height, since there is a nice command in CSS for this, i tried it, but it doesn't work.

Does anyone know how to use this min-height command?

Does it only work on DIV or SPAN, what are the restrictions and is it a supported command in mozilla FF and IE?

Regards,

Sander

Reply With Quote
  #2  
Old July 15th, 2004, 06:48 AM
BugMeNot BugMeNot is offline
Banned
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 42 BugMeNot User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 52 m 39 sec
Reputation Power: 0
Found it!

Sorry people, here on this page is the solution:

min-height solution

Reply With Quote
  #3  
Old July 15th, 2004, 07:26 AM
BugMeNot BugMeNot is offline
Banned
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 42 BugMeNot User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 52 m 39 sec
Reputation Power: 0
Blaargh!

The trick described in the link in the above post is using a bug in the css processing of IE to make sure it displays everything correctly.

However, the min-height doesn't work in Mozilla firefox either!

Anyone had this problem as well? (And found a solution)

If so describe your solution, and how much coffee you have been drinking while finding it...

Reply With Quote
  #4  
Old July 15th, 2004, 11:12 AM
kk5st's Avatar
kk5st kk5st is offline
Thanks Johnny Hart (BC) R.I.P.
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: May 2003
Location: Dallas
Posts: 4,674 kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 3 Days 15 h 15 m 50 sec
Reputation Power: 687
min- and max- height and width generally work well in Moz. Tables, however, seem not to react well with css. It probably doesn't help that height is not a legal attribute for table anyway. Have you tried styling the td to min-height?

BTW, another hack to simulate min-height in IE,
Code:
#someelement {
    min-height: 200px;
    height: 200px;  /*for IE, since IE wrongly expands for content*/
    }

body>#someelement {
    height: auto;  /*overrides height, but IE can't see it because it's too stupid
                   *to understand the child selector
                   */
    }
As to the coffee, not nearly enough.

cheers,

gary
__________________
There are those who manage to build a web site without knowing what they're doing; thereby proving to themselves they do, indeed, know what they're doing.

My html and css workshop, demos and tutorials.
Ask a better question, get a better answer.

Reply With Quote
  #5  
Old July 16th, 2004, 03:44 AM
BugMeNot BugMeNot is offline
Banned
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 42 BugMeNot User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 52 m 39 sec
Reputation Power: 0
Hi There,

Thanks for the advice, it did not do the trick for my website unfortunately.

But hey, the website is viewable. Everything works on every browser i tested it in.

In some leftover hours (most of the time a coupe of days left before deadline jumps in) i'll start struggling with it some more.

Cheers!

Sander

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > How to get min-height on table


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 4 hosted by Hostway
Stay green...Green IT