Results 1 to 4 of 4

Thread: Trying to extened sidebar to footer on in liquid layout

  1. #1
    Join Date
    May 2007
    Location
    San Diego
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Trying to extened sidebar to footer on in liquid layout

    I am just learning CSS layouts using DW CS3. The new skeleton pages provided are a great help. I am trying to modify the "two colimn liquid with header & footer. I want to be able to have sidbar1's background to extend down to the footer when when the data mainContent extends down past the height of sidebar1. I have tried making sidebar1's height 100% but that has new effect. I also tried using a background image to force a height of at least 800px, but that didn't work either. Anybody know how to make this happen??????

    here's the link to the webpage:

    http://www.tracersportfishing.com/Ad...les/2ColLq.htm

    http://www.tracersportfishing.com/Ad...les/2ColLq.htm

    Many Thanks,
    Chuck

  2. #2
    Join Date
    May 2007
    Location
    Viet Nam
    Posts
    62
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    becoz that's not a table layout so the height of two divs will not have a relation.

    You can use min-height for that, but it just work on FF, if you want to see it works on IE u must use CSS Hack.

    Code:
    .FF {
    min-height: 800px;
    }
    *html .IE {
    height: 800px;
    }
    or you just use the height to force both:
    .all {
    height: 800px;
    }
    hf

  3. #3
    Join Date
    May 2007
    Location
    San Diego
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks.... I was afraid that was the issue.

  4. #4
    Join Date
    Jul 2006
    Location
    just north of Boston, MA
    Posts
    1,806
    Thanks
    13
    Thanked 72 Times in 72 Posts

    Default

    Quote Originally Posted by Spiritvn View Post
    becoz that's not a table layout so the height of two divs will not have a relation.

    You can use min-height for that, but it just work on FF, if you want to see it works on IE u must use CSS Hack.

    Code:
    .FF {
    min-height: 800px;
    }
    *html .IE {
    height: 800px;
    }
    or you just use the height to force both:
    .all {
    height: 800px;
    }
    hf
    not having a table layout is a GOOD THING. and as for the IE "hack" it is not necessary. Faux Columns is what he is just trying to do.


    Quote Originally Posted by chuckscherl View Post
    I have tried making sidebar1's height 100% but that has new effect. I also tried using a background image to force a height of at least 800px, but that didn't work either.
    it is very hard to force heights, and by doing so you are really negating the fluidity of your layout. Read the article I linked above, as it does a good job of explaining your situation. If you do have any specific questions feel free to ask

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
  •