0

Image center

A quick question: how should I send a image to the center in HTML/Css?

24th Dec 2023, 3:26 PM
Mojtaba Nikzad
Mojtaba Nikzad - avatar
3 odpowiedzi
+ 2
Using (margin: 0 auto) for your image either in html with <style> tag or in css
24th Dec 2023, 3:33 PM
Hayk Avalyan
Hayk Avalyan - avatar
+ 1
You can use the align attribute in html and set it to center or use it in css
24th Dec 2023, 3:32 PM
Aweneg Rooney
Aweneg Rooney - avatar
0
/* CSS */ img { display: block; margin: 0 auto; } Remember that you can use search engines to search these questions on the internet.
24th Dec 2023, 7:14 PM
🇮🇱 Radin Masiha 🇮🇱
🇮🇱 Radin Masiha 🇮🇱 - avatar