CSS to change img layout
-
I’m trying to change floated images into block elements for narrow screens (i.e. no text wrapping). Nothing seems to work.
@media screen and (max-width:1200px)
{div.entry-content img.alignleft,
div.entry-content img.alignright
{display:block;clear:both;}
}I’ve tried many variations of screen conditions but I can get it to work. What am I missing?
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘CSS to change img layout’ is closed to new replies.