New to Apprey and new to CSS so please bare with me ![]()
I have added a pic to my app and I want it to be in the middle for every devices type and screen size - Can you please help
Thanks
New to Apprey and new to CSS so please bare with me ![]()
I have added a pic to my app and I want it to be in the middle for every devices type and screen size - Can you please help
Thanks
create a css file and give it a name.
In the css file add the following:
img.center {
margin-left: auto;
margin-right: auto;
width: 50%;
}
go to the page with the image in it and set its class to 'center' without the quotes.
adjust width of image to your likeing. It can be %, px etc.