Force positioning img in .storycontent
-
My <strike>idiot</strike> valued and respected members dump pictures in posts in the weirdest places. Is there a way via CSS magic to make them appear in the upper left corner?
I’ve tried this:
.storycontent {
position:relative;
z-index: 1;
}
.storycontent img {
position:absolute;
float: left;
top: 0;
margin: 0 4% 2% 0;
z-index: 1;
}It works, but it’s absolute positioning, so the picture covers part of the text.
Anything else I could try? Or is there a setting for this in WP somewhere?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Force positioning img in .storycontent’ is closed to new replies.