I added a gif in my footer and decided to add a jpg on either side. left and center image cooperate, but right image goes to the line underneath.
This is the HTML
<img src='images/monkey-left.jpg' width='200' height='200' class='left'>
<img src='https://i.somethingawful.com/u/garbageday/2012/phriday/banana_swords/Yabanjin_01.gif' width='200'
height='200' class='center'>
<img src='images/monkey-right.jpg' width='200' height='200' class='right'>
and this is the CSS
the end result is
Left Center
right
can anyone point me in the right direction.
TIA
.center {
display: block;
margin-left: auto;
margin-right: auto;
width: 50%;
}
.right {
float: right;
display: block;
width: 25%;