css - Aligning NavBar Right cause NavBar to disable -


i'm trying right align navbar, whenever add float:right, navbar moves right, seems become disabled.

see here: goo.gl/46yurt

code:

/**  * 4.2 navigation  * ----------------------------------------------------------------------------  */  .main-navigation {     clear: both;     margin: 0;     max-width: 100%;     min-height: 45px;     position: relative;     float:right; } 

i'm using custom modified version of twentythirteen theme.

ideally, i'd have menu beside logo @ top, both centered.

float:right seems positioning nav bar beneath element. adding z-index:1 fixes that, you'll still have adjust position of bar.


Comments

Popular posts from this blog

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

php - render data via PDO::FETCH_FUNC vs loop -

The canvas has been tainted by cross-origin data in chrome only -