Responsive image blog?
Responsive image blog?
Out of context: Reply #2
- Started
- Last post
- 9 Responses
- prophetone0
Simple html page with images inside divs with max-widths of XXXpx and the img tag set to which'll make all images fill the div width and scale accordingly.
img {
max-width: 100%;
height: auto;
}- ok that reads weird but is the 60 sec solution that'll workprophetone
- More like the easiest way, rather than the best way... which'll depend on other needs, which there could be a ton ofprophetone
- yeah this is all you need for responsive images.dbloc
- I just do width: 100% instead of max-widthdbloc
- either will work finedbloc
- Easy peasy...prophetone
- squatty pottydbloc
- Css naughty?prophetone