douzhi2012 2015-03-25 03:09
浏览 77
已采纳

skype javascript插件格式

I'm trying to integrate skype button in the header file of wordpress (header.php) and its successfully been integrated into the file, but I'm facing difficulty with the format, as I was having mail-id, phone number and skype displaying in the same line, now its displaying one in each line.

Here is my code:

<script type="text/javascript" src="http://www.skypeassets.com/i/scom/js/skype-uri.js"></script>
<div id="SkypeButton_Call_mspchelp_1">
<script type="text/javascript">
Skype.ui({
  "name": "dropdown",
  "element": "SkypeButton_Call_mspchelp_1",
  "participants": ["mspchelp"],
  "imageSize": 24
});
</script>
</div>

and this link where I'm utilizing this code.

  • 写回答

1条回答 默认 最新

  • douzhanhui5662 2015-03-25 03:18
    关注

    add this on each element:

    display: inline-block;
    

    Here's the output, i edited some css alignment.

    screenshot:

    enter image description here

    then rearrange your HTML order to:

    mail-id, phone number, skype

    your current html order is:

    mail-id,  skype, phone number
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?