Can't get images to go under each other
Posted
by
Thomas Pen
on Stack Overflow
See other posts from Stack Overflow
or by Thomas Pen
Published on 2013-11-01T21:47:44Z
Indexed on
2013/11/01
21:53 UTC
Read the original article
Hit count: 237
ello I'm new to html and css and tried to display a images that are floating right. Now I want to get the images under each other but is doesn't work. Can someone help me?
this my css code for the images:
.imagesLeft{
float: left;
margin: 5px;
}
.imagesRight{
float: right;
margin: 5px;
}
this my html code for the images:
<div class="imagesRight">
<img src="../images/medewerkers.jpg">
</div>
<div class="imagesRight">
<img src="../images/medewerkers1.jpg">
</div>
<div class="imagesRight">
<img src="../images/medewerkers2.jpg">
</div>
Thanks in advance !
© Stack Overflow or respective owner