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.

CSS Forum


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



Reply
Old 04-08-2008, 02:12 PM Re: height:100% issue
Super Talker

Posts: 107
Name: Sandy
Trades: 0
Quote:
Originally Posted by bakerc View Post
I belive you have to join the monthly subscription service to view this (thats fine if its the case, just want to make sure its the right one)
I can view the article and I don't have a subscription to that site. Some articles do require the subscription but this one it doesn't look like it.

LadynRed - did I read somewhere that some browswers, IE of course, do not support the min-height? Is that when an IE hack is used..

Thanks!
__________________
Sandy K
sandyk3 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-08-2008, 02:27 PM Re: height:100% issue
Defies a Status

Posts: 2,071
Name: carl
Location: UK
Trades: 0
Quote:
I can view the article and I don't have a subscription to that site. Some articles do require the subscription but this one it doesn't look like it.
The thread in the sticky doesn't cover 100% with floating divs, the link to the same site I posted earlier does but in order to view it you have to be a member, to be a memeber you have to join their monthly subscription.

This is the lnk for floating 100% divs
http://www.communitymx.com/abstract.cfm?cid=A7E88

If you can read that without signing in (which requires a subscription) let me know.
__________________

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 bakerc; 04-08-2008 at 02:29 PM..
bakerc is offline
Reply With Quote
View Public Profile Visit bakerc's homepage!
 
Old 04-08-2008, 02:45 PM Re: height:100% issue
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
The FREE article explains it:
http://www.communitymx.com/content/a....cfm?cid=BAD95

The key is in the percentages.
Quote:
"Any time you declare a percentage dimension on an element, make sure its parent element has a dimension set on it as well so that the child will have something to base its percentage dimension off of."
The outcome in the 'multiple column' article - use faux columns !

It does NOT matter that the divs are floated. I have used both methods with floats, and they BOTH WORK.
__________________
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


Last edited by LadynRed; 04-08-2008 at 02:46 PM..
LadynRed is offline
Reply With Quote
View Public Profile
 
Old 04-08-2008, 03:10 PM Re: height:100% issue
Defies a Status

Posts: 2,071
Name: carl
Location: UK
Trades: 0
ahhh - thanks for clearing that up.
__________________

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
bakerc is offline
Reply With Quote
View Public Profile Visit bakerc's homepage!
 
Old 04-08-2008, 05:49 PM Re: height:100% issue
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Sandy, yes, you would need to feed IE6 (and below) a height:100% because it does not support min/max height/width. That's where conditional comments come it too.
__________________
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 04-10-2008, 10:08 PM Re: height:100% issue
Arenlor's Avatar
Ultra Talker

Posts: 462
Name: Jerod Lycett
Location: /home/arenlor
Trades: 0
Setting min-height instead of height to my container div makes it only as big as it's own contents, setting it to min-height doesn't do a thing, I'll look up faux columns tonight and try them.
__________________
PHP Code:
<?php echo "Hello World"?>
HTML Code:
<html><head><title>Hello World</title></head><body><p>Hello World</p></body></html>
Arenlor is offline
Reply With Quote
View Public Profile Visit Arenlor's homepage!
 
Old 04-10-2008, 11:44 PM Re: height:100% issue
Arenlor's Avatar
Ultra Talker

Posts: 462
Name: Jerod Lycett
Location: /home/arenlor
Trades: 0
Got it working that way, thanks, now I have a new issue.
http://browsershots.org/screenshots/...f3c1c623e2554/
http://browsershots.org/screenshots/...a2ac268e061e9/
Of course IE has an issue, I'm using margin-top:-21px; to cover an issue that occurs with it where there is a 21 pixel gap above the header on all but IE apparently, I've never used an IE hack before, how do I go about this?
__________________
PHP Code:
<?php echo "Hello World"?>
HTML Code:
<html><head><title>Hello World</title></head><body><p>Hello World</p></body></html>

Last edited by Arenlor; 04-10-2008 at 11:45 PM.. Reason: added -top
Arenlor is offline
Reply With Quote
View Public Profile Visit Arenlor's homepage!
 
Old 04-11-2008, 10:04 AM Re: height:100% issue
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
You use conditional comments and a separate CSS file that contains ONLY the hacks necessary to make IE6 toe the line.
__________________
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 04-11-2008, 09:45 PM Re: height:100% issue
Arenlor's Avatar
Ultra Talker

Posts: 462
Name: Jerod Lycett
Location: /home/arenlor
Trades: 0
That fixed it, it's all working well now, thanks.
__________________
PHP Code:
<?php echo "Hello World"?>
HTML Code:
<html><head><title>Hello World</title></head><body><p>Hello World</p></body></html>
Arenlor is offline
Reply With Quote
View Public Profile Visit Arenlor's homepage!
 
Reply     « Reply to height:100% issue

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.38237 seconds with 11 queries