Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS how to align menu items to the left

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #45227
    antoniofajdiga
    Participant

    Here is my web site http://dis.ijs.si/e-pedius/
    i want to put my menu items, for example Domov, Opis projekta … to the left. Now they are in the middle of the page and i also want to put eng option in my menu option on the right.But when i resize my window i want to see the same size ratio like before, not to lose some of the items

    #137138
    johncruz
    Member

    You can use getfirebug . com or chrome’s built-in dev tools to isolate a specific CSS class .I hope this will help you to sort out this problem.

    #137139
    antoniofajdiga
    Participant

    yes i know how i can find my element, but i don’t know how to change it

    here is the piece of code
    #header-container nav.primary-menu .menu {
    min-height: 30px;
    padding: 5px 0;
    margin: 0 5px 0 -270px;
    text-align: center;
    position: relative;
    z-index: 92;
    }

    i want to make some how this margin to stay left even if i change the window’s size.If you know how to make this please help me

    #137143
    Paulie_D
    Member

    This is part of your issue

    margin: 0 5px 0 -270px;

    The question is where precisely do you want this menu to be?

    Do you want it completely on the left side of the **page/screen** or just on the left side of your header (which is 960px wide)?

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.