Hello.
The while I created is responsible for adding multiple photos, but when the photos are added they end up one underneath the other. Is there a way for photos to side-to-side?
Hello.
The while I created is responsible for adding multiple photos, but when the photos are added they end up one underneath the other. Is there a way for photos to side-to-side?
You can put the images inside a div and align this div, like this.
No html
<div class="imagem"><img src="imagem-passada-no-while" /></div>
<div class="imagem"><img src="imagem-passada-no-while" /></div>
And in css
.imagem{
float: left;
display: block;
}
Or if you prefer you can put it inside a <ul></ul>
or <table></table>