+ 2
How can I make my images side by side?
13 Antworten
+ 10
img{
width:50%
}
+ 6
Use the float property
+ 3
<img.src=you paste the image link here....
And use
float: left/right so..you can see the image side by side
+ 2
You're image already displayed side by side. Rotation your mobile to landscape to view..(or) reduce the image size fit with your screen size.
Note: Image was an inline element.
+ 1
Netha_r2071 nope, we can't modify your code above since it's your code, not ours.
+ 1
Use the float property and assign one image to left and one image to right or you can use flex in css or grid system in bootstrap
0
use the float: left/right to show the images side by side in one <a> tag.
0
Can u just modify the code above Coding Kitty M R RATUL(developer)
0
flex box is more flexible and modern possibility
0
wrap both images inside a <div> element, then within the opening <div> tag set <div style = "display: flex; flex-direction: row;">
0
Netha just remove the class from <a> tag and give to img tags and set width less than 50% it will work
0
img{
width:50%;
}
0
I helped you to send the solved one you are most welcome 😄