html - My div dont want to be inside wrapper -
html - My div dont want to be inside wrapper -
my lastly div class="picture" doesnt want in wrapperdiv , expand height. comes outside div, thoughts how can solve it? had write more text create possible post
<div class="wrapper"> <div class="logo"><img src="hello1.jpg"></div> <div class="menu"> </div> </div> <div class="picture"><img src="hello.jpg"></div> </div>
my css.
div.wrapper { max-width: 1100px; padding: 0 25px; margin: 0 auto; background:#333; } div.logo { width:30%; margin-left: auto ; margin-right: auto ; } div.menu { margin-left: auto ; margin-right: auto ; width:325px; background:#fff; } div.picture { margin-left: auto ; margin-right: auto ; }
not sure type of ui you're looking accomplish, had malformed html. here's quick solution.
<div class="wrapper"> <div class="logo">logo</div> <div class="menu">menu</div> <div class="picture">picture</div> </div>
http://jsfiddle.net/gwqrut4k/
html css
Comments
Post a Comment