How do I make an image frame full screen and responsive?
-
Hello,
I am having trouble figuring out how to make an image frame full width and to be responsive based on browser screen size.
Right now, it does not expand all the way on the left and right despite being 2000×358.
Using Firebug, this is what I see:
img {
border-style: none;
height: auto;
max-width: 100%;
vertical-align: top;
}Increasing the max-width % seems to expand it, however, it then shifts right. Not sure if this is the best method anyway.
Any advice on how to “properly” set the image would be greatly appreciated.
The image is at the top of my test site here: https://veterans.saintleo.edu/testwp/
Thanks in advance.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How do I make an image frame full screen and responsive?’ is closed to new replies.