Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/462.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 如何将图像放在输入框的左侧引导_Javascript_Twitter Bootstrap 3 - Fatal编程技术网

Javascript 如何将图像放在输入框的左侧引导

Javascript 如何将图像放在输入框的左侧引导,javascript,twitter-bootstrap-3,Javascript,Twitter Bootstrap 3,这是我的 它们相距很远,因为我使用了向左拉和向右拉。我想让他们在中间挨着。我尝试过引导列,但没有解决任何问题。其他可能的解决方案是什么 $('form').card({ // container to render to container: '.card-wrapper', // input boxes to pull from formSelectors: { numberInput: 'input#number', expiryInpu

这是我的

它们相距很远,因为我使用了向左拉和向右拉。我想让他们在中间挨着。我尝试过引导列,但没有解决任何问题。其他可能的解决方案是什么

    $('form').card({
   // container to render to
   container: '.card-wrapper',

   // input boxes to pull from
   formSelectors: {
     numberInput: 'input#number',
     expiryInput: 'input#expiry',
     cvcInput:  'input#cvc',
     nameInput:   'input#name'
  },

  // placeholders on the virtual card
  placeholders: {
    number: '•••• •••• •••• ••••',
    name: 'Full Name',
    expiry: '••/••',
    cvc: '•••'
  },
});

请仔细检查你的小提琴链接,它似乎不起作用。它对我来说很好。什么图像?顺便说一句,您不需要将粘贴jquery ui css代码复制到css框架中。您可以通过提供指向该文件的链接向JSFIDLE添加资源。检查FIDLE是否不工作信用卡映像。小提琴对我很管用。