- 1
How to set an image at the cemter?
3 Respostas
+ 12
You can use different approaches to center things on a web page.
These codes will help you to understand those approaches.
https://code.sololearn.com/WnNWl3XiEd84/?ref=app
https://code.sololearn.com/WhQ1t9sYlc41/?ref=app
+ 12
Please use the search bar brefore asking the question .
https://www.sololearn.com/post/10362/?ref=app
https://www.sololearn.com/discuss/2271974/?ref=app
https://www.sololearn.com/discuss/1887321/?ref=app
https://www.sololearn.com/discuss/1683966/?ref=app
https://www.sololearn.com/discuss/975977/?ref=app
https://www.sololearn.com/discuss/1418558/?ref=app
https://www.sololearn.com/discuss/568884/?ref=app
https://www.sololearn.com/discuss/1729445/?ref=app
+ 2
Add this css:
img {
display: block;
margin-left: auto;
margin-right: auto;
}