How Do We Set the Maximum width as 100% of an image file?
How Do We Set the Maximum width as 100% of an image file?
I am making one of my websites into a responsive website. Everything works fine except for some image files. I am struggling to fit those images into mobile screens. Is there any method to command those image files to fit into 100% on a mobile screen?
Re: How Do We Set the Maximum width as 100% of an image file?
You should style the image like it.
Your image will show 100 percent on all screens.
Code: Select all
style="width:100%;height:auto;"
-
- Editor
- Posts: 182
- Joined: 23 Oct 2023, 10:03
Fix: How Do We Set the Maximum width as 100% of an image file?
Thank you Yashika. It worked.