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
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 IAR程序莫名变量多重定义
  • ¥15 (标签-UDP|关键词-client)
  • ¥15 关于库卡officelite无法与虚拟机通讯的问题
  • ¥100 已有python代码,要求做成可执行程序,程序设计内容不多
  • ¥15 目标检测项目无法读取视频
  • ¥15 GEO datasets中基因芯片数据仅仅提供了normalized signal如何进行差异分析
  • ¥100 求采集电商背景音乐的方法
  • ¥15 数学建模竞赛求指导帮助
  • ¥15 STM32控制MAX7219问题求解答
  • ¥20 在本地部署CHATRWKV时遇到了AttributeError: 'str' object has no attribute 'requires_grad'