troubleshooting Question

trying to make div inline

Avatar of Chris Andrews
Chris AndrewsFlag for United States of America asked on
CSS
2 Comments1 Solution298 ViewsLast Modified:
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
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros