Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: IE6 Auto Height

  1. #1
    New Coder
    Join Date
    Jan 2007
    Posts
    64
    Thanks
    0
    Thanked 1 Time in 1 Post

    Internet Explorer IE6 Auto Height

    I am having issues with auto height in IE6..

    I have 2 relative divs.. where the div on the left (navigation) needs to be the same height as div 2 no matter what. I can't do it another way it has to be the same height.
    Code:
    #col-one
    	{
    		width: 165px;
    		height: auto; !important; height: 629px;
    		background-color: #f0f0f0;
    		position: absolute;
    		top: 2px;
    		left: 0px;
    		z-index: 2;
    		border-color: #264795;
    		border-style: solid;
    		border-width: 5px 0px 0px 0px;
    	}
    #subpage_content > #col-one
    	{
    		width: 165px;
    		height: auto; !important; height: 629px;
    		background-color: #f0f0f0;
    		position: absolute;
    		top: 2px;
    		left: 0px;
    		z-index: 2;
    		border-color: #264795;
    		border-style: solid;
    		border-width: 5px 0px 0px 0px;
    	}
    
    #col-two
    	{
    		width: 542px;
    		background-color: #f4f4f4;
    		position: relative;
    		top: 2px;
    		left: 168px;
    		z-index: 3;
    		height: 629px;
    		padding: 0px 0px 0px 0px;
    		border-color: #264795;
    		border-style: solid;
    		border-width: 5px 0px 0px 0px;
    	}
    #subpage_content > #col-two
    	{
    		width: 542px;
    		background-color: #f4f4f4;
    		position: relative;
    		top: 2px;
    		left: 168px;
    		z-index: 3;
    		min-height: 629px;
    		height: auto;
    		padding: 0px 0px 0px 0px;
    		border-color: #264795;
    		border-style: solid;
    		border-width: 5px 0px 0px 0px;
    	}
    Are the elements in question...

    Again... #col-2 will auto adjust for content and col-one needs to follow suit...
    No trees were harmed in the transmission of this message.
    However, a rather large number of electrons were temporarily
    inconvenienced.

  • #2
    New Coder
    Join Date
    Jan 2007
    Posts
    64
    Thanks
    0
    Thanked 1 Time in 1 Post
    Sorry this is the parent element
    Code:
    #subpage_content
    	{
    		position: relative;
    		width: 895px;
    		background-color: #ffffff;
    		padding: 0px 0px 5px 0px;
    	}
    No trees were harmed in the transmission of this message.
    However, a rather large number of electrons were temporarily
    inconvenienced.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •