0

How do i control where my image goes?

I have a image in my html code but it always is to the left of the screen, how do i move it? I tried align=“center” but that doesnt work :( please help, thank you!

10th Sep 2019, 11:45 AM
Mike Bruens
Mike Bruens - avatar
3 Antworten
+ 4
Solution: <div align="center"> <img src="url"> </div>
10th Sep 2019, 11:50 AM
Farhan
Farhan - avatar
+ 13
You can't use align="center" for an images, Check if this helps you https://www.w3schools.com/HOWTO/howto_css_image_center.asp
10th Sep 2019, 11:50 AM
Oma
Oma - avatar
+ 1
Why not give it a class name and make a full styling using %,px. Left, Right, Top.
10th Sep 2019, 1:02 PM
Sarmhard{!°rd of ©°d€}
Sarmhard{!°rd of ©°d€} - avatar