The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Float: left seems doesn't work Reply To: Float: left seems doesn't work


Hi @tirengarfio,

The float is working, but it is not working the way you are expecting. When you add a float left to the div.logo-h1 the content of the div.garantia is the one being pushed, but the origin of the div is not pushed to the left. Please see this screenshot, I removed the width of your div.garantia and added some content to show my point:



  • Add a left margin of 520px to the div.garantia, something like this:

body header .garantia {
height: 91px;
margin: 9px 24px 0 520px;
width: 145px;