+ 1

Help, just please. Help. I can't align my image to the center.

I've checked if aligning to the right works, answer is yes. I checked if aligning to left works, answer is again. Yes. But why isn't aligning the image to the center not working?, am I being stupid or something?

4th Dec 2019, 12:52 PM
Redstone Animates and more
Redstone Animates and more - avatar
5 Answers
+ 8
align="middle" Check it and if it still does not work then CSS will be better.
4th Dec 2019, 1:02 PM
‎Virat
‎Virat - avatar
+ 5
Where is your code?
4th Dec 2019, 12:56 PM
A͢J
A͢J - avatar
+ 3
4th Dec 2019, 2:23 PM
A͢J
A͢J - avatar
+ 1
just add <center> before the img attribute
19th Dec 2019, 3:54 AM
B.Dada khalander
B.Dada khalander - avatar
0
<!DOCTYPE HTML> <html> <head> <title>Website Test</title> </head> <body> <header> <img sec="images/title.png" alt="Title" align="center> </header> </body> </html>
4th Dec 2019, 1:00 PM
Redstone Animates and more
Redstone Animates and more - avatar