Hello,
[I hope that this is the correct group for my question.]
I have a CSS problem when I add images to posts with the CKEditor, e.g. in the "Pages" plugin.
When I choose "Side image", the div doesn't wrap around the image, if there is only little text. It looks like this:
I have a CSS file in "my_plugin" with which I overwrite CSS styles. I tried figuring out with my browser's developer tools what style to change, but I'm not sure what to do. Is this an image issue, CKEditor issue, div issue? I don't know.
Does anyone have an idea how I can make the div become "bigger", so that the red outline in my example moves "under" the picture, thus including the image in the div?
Note: This only happens in the "Side image" view. If I use e.g. "Left aligned image", the div automatically includes the image, even without any text.
Thanks for any help!
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Nikolai Shcherbin@rivervanrain

Nikolai Shcherbin - 0 likes
You must log in to post replies.I can't reproduce it, all works as expected.
Deactivate all 3rd-party plugins and try again.