+ 2

Hi, can u all figure it out why i cant "center" my pic? im just beginner here..

<html> <head> <title> My First Blog </title> </head> <body> <h1 align="center"> My new <span style=color:turquoise>Blog</span></h1></br> <img src="banana.jpg" align="center" height="60%" width="35%" alt=""/> </body> </html>

8th Sep 2019, 4:43 PM
Sanjay Kumar
Sanjay Kumar - avatar
3 Respuestas
+ 5
Align doesn't work on images. You have to use css for that. left:50%; transform:translate(-50%);
8th Sep 2019, 4:55 PM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar
+ 4
You're welcome, my yellow friend. 😁
8th Sep 2019, 4:59 PM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar
+ 2
Thank you master
8th Sep 2019, 4:58 PM
Sanjay Kumar
Sanjay Kumar - avatar