Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Set Image to Auto Fit the page width Re: Set Image to Auto Fit the page width

#130300
TheDoc
Member

You have this applied to your media query:

img {
max-width: 100%;
height: auto;
}

But you only have that applied to your smaller size, that’s why the bigger version breaks out.

Having said that, you’d probably want to not use a table and make a bunch of other changes.