I made a rubber menu, everything turned out, but I can not omit the menu items in the middle. I tried
vertical-align
, text-align
and nothing works.
*{ margin:0; padding:0; } div{ display:block; } body{ background:#444; } header { height:7%; width: 100%; background-color: #FFF; margin: 0 auto; border-bottom: 1px solid #000; } .right{ float:left; background-color: #000; width:15%; height:100%; } .menu{float:left; background-color:#f2f2f2; width:70%; height:100%; } .left{float:left; background-color: #000; width:15%; height:100%; } img{width:10%; Height:100%; background-color:#000; } ul{margin-left:10%; width:80%; height:100%; background-color:#cee2d3} li{ width:10%; height:100%; background-color:#669900} a{ text-decoration:none; color:#666;}
one 2 four 3