Re: Main Menue
Reply #2 –
Thank you very much, Spuds!
It works this way...but not exactly as I would like it...
#main_menu {
position: relative;
text-align: center;
}
#main_menu .listlevel1 {float: none; display:inline-block;}
/* Wrapper for primary admin/profile/etc menus. */
.admin_menu {
padding: 0 3px;
}
/* Wrapper for secondary admin/profile/etc menus. */
#adm_submenus {
overflow: auto;
padding: 3px 0px;
}
/* Level 1 button positioning. */
/* 1px padding gives slight gap between buttons, and drop menus. */
.listlevel1 {
position: relative;
/*float: left;*/
display: inline-block;
margin: 0 2px;
padding: 2px 0;
font-size: 0.929em;
line-height: 2.077em;
}
.poster .listlevel1 {
line-height: 1.667em;
padding: 0;
}
.listlevel1:hover {
z-index: 6;
}
.listlevel1#collapse_button, .listlevel1#button_profile {
float: right;
}
.listlevel1#button_profile img {
max-width: 1.5em;
max-height: 1.5em;
margin: 0;
margin-right: 0.6em;
position: relative;
top: 4px;
}
The Profile-Button and the Collapse-Button are not centered , I would like to have them centered.
The links at the drop-downs are centered now. (but this is not so important)
But this changes disturbed the alignment of the Poster-Information, it was centered before.