tengo el siguien codigo html y css...
Código HTML:
y main.css Ver original
Código CSS:
Ver original
*{ box-sizing: border-box; } body { background-color: #3f444e; } #contenedor { width: 1194px; margin: 0 auto; background-color: aqua; overflow: hidden; } .top-panel { font-family: 'Adobe Gothic Std'; border-top-left-radius: 5px; border-top-right-radius: 5px; width: 100%; height: 76px; background-color: #ffffff; background-color: yellow; overflow: hidden; } .logo { color: #3f444e; font: 18px 'Adobe Gothic Std'; text-transform: uppercase; font-weight: normal; width: 114px; margin-left: 30px; margin-top: 25px; display:inline-block; background-color: black; float: left; } .navegacion { font: 13px 'Adobe Gothic Std'; width: 349px; height: 70px; background-color: red; position: relative; overflow: hidden; margin: 0 auto; } .user { float: right; color: #3f444e; background-color: #ffffff; } #menu { align-content: center; float: left; width: 100%; list-style-type: none; margin: 0 auto; padding: 0; position: relative; } #menu li{ float: left; position: relative; text-align: center; padding-top: 10px; } #menu ul{ width: 100%; } .user-img { width: 30px; float: left; display: inline-block } .name { width: 96px; height: 12px; color: #3f444e; font: 15px 'Adobe Gothic Std'; display: inline-block } .user-edit { width: 12px; display: inline-block; float: right; }
Lo que quisiera es alinear el div logo a la izquiera, el div navegacion al centro y el div user a la derecha.
lo intente pero no logro hacerlo ese es mi codigo actual y me sale de la siguiente manera.
http://prntscr.com/apy71p
Y quisiera que me saliese de la sifguiente manera.
http://prntscr.com/apy9ku
si no me entendiero porfas pregunte espero y me puedan ayudar gracias!!