Avatar of Chris Andrews
Chris Andrews
Flag for United States of America asked on

trying to make div inline

I have a css file I can edit, it has this:

--------------------------
.addtoany_share_save_container{clear:both;line-height:32px;margin:16px 0}
.addtoany_list{display:inline}.addtoany_list a{padding:0 9px}
.addtoany_list a img{height:16px;opacity:.7;overflow:hidden;vertical-align:middle;width:16px}.addtoany_list a:hover img,.addtoany_list a.addtoany_share_save img{opacity:1}iframe.addtoany_special_service{padding:0 9px;vertical-align:middle}a.addtoany_share_save img{border:0;width:auto;height:auto}
--------------------------

I have a div that is generated by a script, it's like this:

--------------------

<p>There's some text here.<div class="a2a_kit a2a_target addtoany_list" id="wpa2a_1"><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.sure-start.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></div>
<script type="text/javascript"><!--
wpa2a.script_load();
//--></script> </p>

-------------------------------

Right now, that image appears below the line of text. I would like it to appear inline - at the end of the text but on the same line.

Is there a way I can change the css code (or anything else) to make that happen?

Thanks,

Chris
CSS

Avatar of undefined
Last Comment
Chris Andrews

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
cmalakar

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Chris Andrews

ASKER
That was easy - thank you!
Your help has saved me hundreds of hours of internet surfing.
fblack61