Grow your CSS skills. Land your dream job.

Sidebar in Single View

  • # March 3, 2009 at 2:00 pm

    Can anyone help with the sidebar on my new blog? The problem is in IE 7 in the single view it is pushed below the main content but I can’t figure out how to get it to line up. On the homepage it’s where it should be hung out to the right but in single view it just drops below the content and I’m out of ideas now to get it to line up.

    Site here: http://graemepirie.com

    # March 4, 2009 at 6:04 am

    Hi Gpirie,

    I initially thought it was a problem with floats but I figured out what the problem was . Your sidebar was not in your

    Content DIV.

    You need a container ( in your case your div called content ) and the only thing inside there was the main col. The sidebar was actually not in your content div it was sitting below it floated to the right.

    Here is the code , you need to cut the sidebar code and paste it between the closing divs .

    If you have any trouble with it let me know.

    Andrew

    Code:

    The Life of A Modern Day Student

    With it being my first day back at University, this little video shows that it’s not all drinking and partying!

    Tags: , , ,

    Leave a Reply





    XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

    ******delete these asterisks and paste your sidebar here make sure it is inside these two closing divs*******************

    cut out all the text between the two lines of asterisks below
    *****************************************************************************************************************************

    *****************************************************************************************************************************

    # March 4, 2009 at 10:59 am

    Thankyou! :D

    Can’t believe I missed that, I was looking at the floats and widths etc instead of that.

    Thanks again!

    # March 8, 2009 at 10:55 pm

    no problemo glad i could help

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".