[css-d] Height:100% problems
Is there any way to have a div that's height:100%, but grows when the content is outside of the viewport? Why on earth is this difficult? -Josh -- My name was Brian McGee I stayed up listening to Queen When I was seventeen Josh 'G-Funk' McDonald :: Pirion Systems, Brisbane 07 3257 0490 :: 0437 221 380 :: [EMAIL PROTECTED] __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Height:100% problems
Cheers, the answer for me was display:table on the two inner divs :) -Josh -- My name was Brian McGee I stayed up listening to Queen When I was seventeen Josh 'G-Funk' McDonald :: Pirion Systems, Brisbane 07 3257 0490 :: 0437 221 380 :: [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Hulse Sent: Friday, 4 November 2005 11:28 AM To: CSS-Discuss Subject: Re: [css-d] Height:100% problems On Nov 3, 2005, at 5:20 PM, Josh McDonald wrote: Is there any way to have a div that's height:100%, but grows when the content is outside of the viewport? Why on earth is this difficult? http://www.sitepoint.com/forums/showpost.php?p=1243541postcount=8 That might help. You may also want to check here: http://www.cssplay.co.uk/index.html m -- BCC for Privacy! http://www.cs.rutgers.edu/~watrous/bcc-for-privacy.html -- My del.icio.us: http://del.icio.us/mhulse __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
[css-d] Width:100% and padding?
How on earth do I push a div out to 100% when it's padded, if the contents aren't wide enough? -Josh -- My name was Brian McGee I stayed up listening to Queen When I was seventeen Josh 'G-Funk' McDonald :: Pirion Systems, Brisbane 07 3257 0490 :: 0437 221 380 :: [EMAIL PROTECTED] __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Width:100% and padding?
Following up, my problem is that width:100% on the containing div seems to be ignored. What should I look for that could trigger that? -Josh -- My name was Brian McGee I stayed up listening to Queen When I was seventeen Josh 'G-Funk' McDonald :: Pirion Systems, Brisbane 07 3257 0490 :: 0437 221 380 :: [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Josh McDonald Sent: Friday, 4 November 2005 2:17 PM To: 'CSS-Discuss' Subject: [css-d] Width:100% and padding? How on earth do I push a div out to 100% when it's padded, if the contents aren't wide enough? -Josh -- My name was Brian McGee I stayed up listening to Queen When I was seventeen Josh 'G-Funk' McDonald :: Pirion Systems, Brisbane 07 3257 0490 :: 0437 221 380 :: [EMAIL PROTECTED] __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
RE: [css-d] One True Layout Centered
What about left:expression(Math.floor((document.documentElement.offsetWidth - offsetWidth)/2)+px); For IE? Would that work on the mac version? Or does ie/mac not support expressions? -Josh -- My name was Brian McGee I stayed up listening to Queen When I was seventeen Josh 'G-Funk' McDonald :: Pirion Systems, Brisbane 07 3257 0490 :: 0437 221 380 :: [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jono Sent: Thursday, 27 October 2005 11:22 AM To: anathema; css-d@lists.css-discuss.org Subject: Re: [css-d] One True Layout Centered On 10/26/05 6:45 PM, anathema [EMAIL PROTECTED] wrote: I discovered Alex Robinson's One True Layout [props bro!] the day it was published and have been trying to make it a fixed width centered design. Obviously it is easy in standard compliant browsers simply by putting a margin: 0 auto; on the wrapper. The next course of action would be to use text-align: center on the body for IE. However, IE 5, 5.5 and 5.2 Mac get it wrong and the wrapper is left aligned. This clearly?? has to do with the float: left. How about feeding the wrapper - margin: 0 12.5% 0 12.5%; - for IE 5/Mac? __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/