html - Floats and Spacing? -


so, placed in many different ways "logo" , text next it. İ leave breathing room 10 pixels, doesn't seem work.


İ know of past questions not received sorry if 1 well.

here code, can me find out why wouldn't leave space?

css:

    img {     width: 110px;     height: 110px;     float: left;     }      body {     font-family: sans-serif;     background-color: #f7de86     }      h3, h1 {     font-family: sans-serif;     padding-left: 125px;     }      h1 {     position: relative;     top: 55px;     left: 125px;     }      h3 {     color: #b79104;     }      .wrap {     width: 750px;     margin: auto;     height: 130px;     } 

img {     width: 110px;     height: 110px;     float: left;     padding-right: 10px;     } 

use padding-right add space. read page more information http://www.w3schools.com/css/css_boxmodel.asp

i hope solves problem.


Comments

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -