Avatar of Chris Andrews
Chris AndrewsFlag 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
ASKER CERTIFIED SOLUTION
Avatar of cmalakar
cmalakar
Flag of India image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Chris Andrews

ASKER

That was easy - thank you!
CSS
CSS

Cascading Style Sheets (CSS) is a language used for describing the look and formatting of a document written in a markup language. Usually used to change web pages and user interfaces written in HTML, it can also be applied to any kind of XML document. CSS is designed primarily to distinguish the content of a document from its presentation.

43K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo