Home › Forums › CSS › Floating problem › Re: Floating problem
September 21, 2012 at 10:40 am
#110505
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;
}