Give help. Get help.

  • # March 3, 2013 at 9:02 am

    It’s on my local host just a site I’ve been working on for practice. So here are 3 pictures.

    This is how it looks when I’m not logged in: [LINK]( “LINK”)

    This is what happens when i log in: [LINK2]( “LINK2”)

    [CSS for menu]( “CSS for menu”)

    # March 3, 2013 at 9:07 am

    I’m not sure but it looks like your menu is positioned absolutely…so it’s linked to the top of the page…so it moves.

    Without seeing the live site I can’t say whether this positioning is required or not….my guess is that it isn’t….it rarely is.

    # March 3, 2013 at 9:56 am

    But so is my search form and that doesn’t move. Weird.

    What do you suggest me to do instead of absolute way ?

    # March 3, 2013 at 10:09 am

    I made it work :)

    Instead of top:160px i used Margin-top:-60px so that it moves a bit up from the content to the header instead of top:160px which makes it move from the top to bottom of the html document.

    # March 3, 2013 at 10:47 am

    I’ve said it before but it’s worth repeating…

    Using positioning (absolute/relative/fixed) should be one of the LAST way of laying out pages unless you are after specific effects that cannot be achieved any other way.

    It most certainly should not be used by default…there are much better, flexible and maintainable ways of laying out pages.

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

You must be logged in to reply to this topic.