Results 1 to 5 of 5

Thread: Faux Columns Problem

  1. #1
    Join Date
    Dec 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Faux Columns Problem

    Hello,
    I have two problems, but first..

    this is css code

    #wrapper {
    width: 975px;
    height: auto;
    margin: 0 auto;
    overflow: hidden;
    }

    #content {
    width: 773px;
    float: left;
    position: relative;
    top: -110px;
    margin: 0;
    background-color: #ebebeb;
    padding-bottom: 1000em;
    margin-bottom: -999.5em;
    }


    #subContent {
    width: 202px;
    height: 100%;
    float: right;
    background-color: #78732c;
    padding-bottom: 1000em;
    margin-bottom: -999.5em;
    }
    and this is html structure


    ---------

    I. The first problem is that #content goes under #head(main header image) in firefox
    like this

    I have tried with big z-index, but it there isn`t any change

    ---------

    II. And the second major problem is that in IE 7 the big padding and margin value create big space in the bottom and there is scrollbar..


    and here is the online version
    http://www.agresiam-inc.com/wip/tenerife.htm

  2. #2
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    #2 Remove this:
    Code:
    #content {
    	width: 773px;
    	float: left;
    	position: relative;
    	top: -110px;
    	margin: 0;	
    	background-color: #ebebeb;
    	padding-bottom: 1000em;
    	margin-bottom: -999.5em;
    	z-index: 10000;
    }
    #subContent {
    	width: 202px;
    	height: 100%;
    	float: right;
    	background-color: #78732c;	
    	padding-bottom: 1000em;
    	margin-bottom: -999.5em;
    }

  3. #3
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    #1 Remove this:
    Code:
    #wrapper {
    	width: 975px;
    	height: auto;
    	margin: 0 auto;
    	overflow: hidden;
    }

  4. #4
    Join Date
    Dec 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    and than, how to make the column heights(of #content and #subContent) to be equаl?
    make a a suggestion

  5. #5
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    Try this:
    Code:
    #subContent {
    	width: 202px;
    	height: 100%;
    	float: right;
    	background-color: #78732c;
    	height:918px;
    }

Bookmarks

Posting Permissions

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