inline-block css property not working!
-
Hi!
I would like to show a div element inside the text just as if div was a single word. This should be very easy by using following
<p>text text text text <div style="display: inline-block;">SOME-CONTENT</div> text text text text text text text text text text text text text text text text text</p>
However, there is something in WordPress that breaks it. Shows like this:
text text text text
SOME-CONTENT text text text text text text text text text text text text text text text text text text text text text text text
So how to make wordpress NOT brake the text before my div?? I tried also span element, but WordPress brakes it even more.
The div is created by a shortcode, so there should not be that much filters done for it as there is for normal content, but something still is made and that spoils my plans..
- The topic ‘inline-block css property not working!’ is closed to new replies.