treehouse : what would you like to learn today?
Web Design Web Development iOS Development

Beginner Question re positioning

  • Hi, hoping someone here can help.

    I don't know much about CSS (well at least not "proper" css!) but I'm giving a friend a hand with a few issues on his website.

    One of the main issues is that text in one part of the site is positioned much lower in IE & Safari than it is in Firefox ( where it sits neatly in a box ). I've copied the code below which positions the menu

      .custom #secondary_menu {position:relative;}
      .custom ul#menu-locations.menu {position:absolute; top:16.2em; right:17.0em; width:auto; }
    

    Could you help me and let me know what should be used here so the text/menu displays in the correct position in all browsers?

    Thanks

  • Create a sample on CODEPEN...