Forums

Sidebar Alignment (5 posts)

  1. seagis
    Member
    Posted 5 years ago #

    My website, by default, shows the sidebar on the right, and it overlaps the header. What I would like is for the sidebar to be on the left, nested underneath the header.
    In the interest of saving space, I have the index.php and the .css listed as text files on the site:
    http://www.dawsonbailey.com/index-php.txt
    http://www.dawsonbailey.com/dawsonbailey-css.txt
    If there is something else that needs tweaking, let me know and I'll post it.

  2. podz
    Support Maven
    Posted 5 years ago #

    #menu
    top: 0;
    Change it to something like top: 102px;
    The px is the vertical gap between the top of the screen and the start of the div.

  3. podz
    Support Maven
    Posted 5 years ago #

    http://www.tamba2.org.uk/downloads/leftcol.txt
    It's there for you, and you can see the result at http://www.tamba2.org.uk/testblog/index.php
    If you compare what you've got, and what you see.. changes to #menu and #content :)

  4. seagis
    Member
    Posted 5 years ago #

    Well, that accomplished what I was looking to do (much thanks to you, BTW.)
    However, the unexpected result is that the sidebar now is sitting smack dab on top of the posts, instead of sitting to the immediate left of the posts as I was expecting it to. Is there a fix for this, or should I just write up a table layout for it all? I'd rather not do that if there's an easier way to accomplish this, but I'm not above doing it if that's going to take care of the problem. :-)

  5. seagis
    Member
    Posted 5 years ago #

    My fault!
    It's fixed. I forgot to save the changes when I altered the #content section. Looks good.
    Thanks again for the help, and especially for the quick response.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.