html - aside can't be floated in Safari -
i got following problem. try float aside object right, doesn't work out in safari. strange thing code works if replace aside div tag. u know how solve prom?
.container > *{ display:inline-block; } .content{ float:left;} .content2{ float:right;} <div class="container"> <div class="content">content</div> <aside class="content2">aside</aside> </div>
greetz
it's because you've closed aside tag div tag. need close aside tag so:
<div class="container"> <div class="content">content</div> <aside class="content2">aside</aside> </div>
Comments
Post a Comment