html - Positioning footer logo -


So I want to add a logo to the footer. It needs to be right apart from the text on the left side.

  & lt; Div class = "siteFooterBar" & gt; & Lt; Div class = "content" & gt; & Lt; Img src = "http://i.imgur.com/nuRmQJX.png" width = "70px" height = "70px" align = "left" & gt; & Lt; Div square = "foot" & gt; 2014 © All rights reserved. & Lt; / Div & gt; & Lt; / Div & gt; & Lt; / Div & gt;  

Both use margin-left / margin-right because the length of the different resolutions is definitely Will be different. This is what I want to achieve.

What is the best way in this direction? If I have margin-left / margin-right ?

What if practicable div class = "post-text" itemprop = "text">

aligned Do = "left" image as follows:

  & lt; Div class = "siteFooterBar" & gt; & Lt; Div class = "content" & gt; & Lt; Img src = "http://i.imgur.com/nuRmQJX.png" width = "70px" height = "70px" & gt; & Lt; Div square = "foot" & gt; 2014 © All rights reserved. & Lt; / Div & gt; & Lt; / Div & gt; & Lt; / Div & gt;  

By adding some CSS:

  .foot {display: inline-block; Line-height: 70px; Vertical-row: top} .img {display: inline-block; }  

and


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -