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

Posts: 96
Name: Sandy
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
 
Old 04-08-2008, 02:27 PM Re: height:100% issue
bakerc's Avatar
Penguins on toast

Posts: 1,811
Name: carl
Location: UK
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.
__________________
adverse credit mortgage specialist, bad credit mortgage resources, credit repair and debt consolidation | debt management mortgage solutions.

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
Super Moderator

Posts: 6,553
Location: Tennessee
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 !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club

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
bakerc's Avatar
Penguins on toast

Posts: 1,811
Name: carl
Location: UK
ahhh - thanks for clearing that up.
__________________
adverse credit mortgage specialist, bad credit mortgage resources, credit repair and debt consolidation | debt management mortgage solutions.
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
Super Moderator

Posts: 6,553
Location: Tennessee
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 !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
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: 463
Name: Jerod Lycett
Location: /home/arenlor
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: 463
Name: Jerod Lycett
Location: /home/arenlor
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
Super Moderator

Posts: 6,553
Location: Tennessee
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 !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
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: 463
Name: Jerod Lycett
Location: /home/arenlor
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

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