Forums

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

Home Forums CSS Floating problem Re: Floating problem

#110505
matt_sanford
Participant

There is only suppose to be one picture per div. The img that is floated to the left is suppose to be in the div above it. not below.

Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.


Special Guest Speaker:

Cornell Jordan


Css:

.pic {
height: 100px;
width: 100px;
margin: 5px;
display: inline-block;
margin: 25px 10px 15px 15px;
border: 1px solid black;
}

.left {
float: left
}

.right {
float: right;
}