• Hello,
    Does anyone know how to make the sidebar auto increase with the content? At least the borders?
    Here is my problem : http://www.visualrebels.us/avi/sidebar_not_increasing.jpg
    when I have not so much contents, the sidebar reaches the bottom. But when i put a lot lot of content, the sidebar doesnt increase automatically.

    I tried the faux coloumn, but i guess if the sidebar itself limits only upto the content, the faux coloumn method is not going to work out.

    So, does anyone know how to make the sidebar auto increase with the content? At least the borders?

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter cdtavijit

    (@cdtavijit)

    does anyone have any solution for it? 🙁 hello???

    Have a link we can look at?

    -tg

    Thread Starter cdtavijit

    (@cdtavijit)

    hey, thanks man for replying. I thought my email went to your junk mail haha.

    here is the site: http://www.forexarchives.com/ as you can see, the main content is not sync with the sidebar.

    the theme is a kubrick theme, i modified it to have this look.

    If you use e.g. in right sidebar something like “border-left: 1px;” it will never go down. With faux column you should be able to do it.

    Do a google for “faux-columns” – various sites give detailed instructions on how to accomplish this….

    Here’s one link, though it may not be the best option for your situation (searching will provide more help):

    http://www.communitymx.com/content/article.cfm?cid=AFC58

    Thread Starter cdtavijit

    (@cdtavijit)

    actually i did a faux coloumn. may be i remove the border and add the faux coloumn.
    But then the issue is, if my sidebar dont have enough contents, then it doesnt increase along with the main content (the left .. the main page). So, even if i use a faux coloumn technique, it stays there. Not sure what exactly I am doing wrong, but i will do it now and post it again here in a few mins.

    Then you are not using the technique in the right way.
    On this dev. blog of mine: http://www.transycan.net/blogtest/
    both Dark Maple and Vesuvius 151 are using faux column. Check it out.

    Thread Starter cdtavijit

    (@cdtavijit)

    alright, here it is..
    ‘/* Begin LEFT Sidebar */
    #leftsidebar
    {
    float: left;
    padding: 20px 10px 10px 5px;
    /* margin-left: 475px; */
    width: 124px;
    height: auto;
    background: url(images/leftsidebar.gif) 124px repeat-y 100%;

    /* border-left: 1px solid #959596;
    border-right: 1px solid #959596;
    */

    }’

    but as u can see, the sidebar still doesnt got down. 🙁
    the blog in question is : http://www.forexarchives.com/

    Thread Starter cdtavijit

    (@cdtavijit)

    sorry dint see moshu’s posting before i posted. dint refresh my page. ok, i will try that out and reply back again later. thanks a lot for ur support. =D

    edit: kinda weird, i actually did read this before .. and i tried to use the method u said. but then the problem was, both the right and the left side bar was not increasing. in total the whole side bar was not increasing. so do i need to do a faux coloumn for the whole sidebar? now, if i do that, i have a banner on the top, that will also have a division in the middle. Or it wont?

    http://www.forexarchives.com/ if u want to see the blog again.

    Thread Starter cdtavijit

    (@cdtavijit)

    about faux coloumn, i did a search before and i read from alistapart and others (including both url given by moshu and vkaryl) but then, the problem was that, under my main sidebar, i have two sidebar.. left and right. so, if i add a bg for that, the banner will have a bg as well, but i want to increase the left sidebar only… hmm.. may be i need to add a top padding for that? i will try that and post it back.
    thanks ya.

    actually i did a faux coloumn…
    Based on the CSS you’ve posted you did it in the wrong way: the bg image shouldn’t be in the sidebar but in the body or wrapper or page… whatever you have keeping the page together.

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘sidebard doesnt increase with contents’ is closed to new replies.