javascript - Skype Button: How to prevent vertical space -


i started learning html, css , js. trying add skype button web, creates blank lines above , below. how remove blank lines , make skype button appear inline text coded before skype button code? (sorry, new stackoverflow, not able post image of result.

this sample code trying with.

<link rel="stylesheet" type="text/css" href="960-grid-system-master/code/css/960_12_col.css" />     <div class="container_12 clearfix">     <div class="grid_12">     <span>contact xxxxxxx xxxxx</span>     <script type="text/javascript" src="http://www.skypeassets.com/i/scom/js/skype-uri.js"></script>     <div id="skypebutton_call_xxxxxxx_1">       <script type="text/javascript">         skype.ui({           "name": "call",           "element": "skypebutton_call_xxxxxxx_1",           "participants": ["xxxxxxx"],           "imagesize": 32         });       </script>     </div>     <p>footer</p>     </div>     </div> 

the skype button api creates paragraph

<p id="skypebutton_call_xxxxxxx_1_paraelement" style="font-size:30px; color:#444444">...</p> 

which causes spacing issue. around can insert js this

<script type="text/javascript">     var text = document.createtextnode("contact xxxxxxx xxxxx");     document.getelementbyid("skypebutton_call_xxxxxxx_1_paraelement").insertbefore(text, document.getelementbyid("skypebutton_call_xxxxxxx_1_paraelement").firstchild);  </script> 

to call add text generated paragraph.


Comments

Popular posts from this blog

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -