Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/39.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

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/video/2.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
Css 在firefox和IE中,按钮中的Twitter Boostrap漏洞?_Css_Twitter Bootstrap_Firefox_Button - Fatal编程技术网

Css 在firefox和IE中,按钮中的Twitter Boostrap漏洞?

Css 在firefox和IE中,按钮中的Twitter Boostrap漏洞?,css,twitter-bootstrap,firefox,button,Css,Twitter Bootstrap,Firefox,Button,我在firefox的公文包网站上有一些不寻常的行为。我正在使用twitter引导。按钮上的文本超出了按钮宽度,单击按钮时也不会发生任何事情。它在chrome和safari上运行良好 链接:www.nakibmomin.com html <div class="parallax-overlay"></div> <div class="jumbotron" id="home"> <div class="container">

我在firefox的公文包网站上有一些不寻常的行为。我正在使用twitter引导。按钮上的文本超出了按钮宽度,单击按钮时也不会发生任何事情。它在chrome和safari上运行良好

链接:www.nakibmomin.com

html

 <div class="parallax-overlay"></div>
    <div class="jumbotron" id="home">
      <div class="container">
        <img class="img-circle" src="img/profile.jpg" style="width: 100px;height:100px;">
        <h1>Nakib Momin</h1>
        <p>Student Blogger And Software Developer</p>
        <button type="button" class="btn btn-primary"><a href="#contact">Contact Me</a></button>
      </div>
    </div> 

您不能将
s放入
s中。它们不能正常工作,而且还不清楚这种组合的正确行为是什么。

您不能将
s放入
s中。它们不能正常工作,而且还不清楚这种组合的正确行为是什么。

不要将锚定标签放在按钮标签内

或者将其设置为实际按钮,并在用户单击时将其重定向到“联系我”页面,或者使用Bootstrap的按钮类设置按钮样式

HTML

<a href="#contact" class="btn btn-primary">Contact Me</a>

不要将锚定标签放在按钮标签内

或者将其设置为实际按钮,并在用户单击时将其重定向到“联系我”页面,或者使用Bootstrap的按钮类设置按钮样式

HTML

<a href="#contact" class="btn btn-primary">Contact Me</a>


您需要在问题中提供相关代码,以及您为解决问题所做的努力。仅仅链接到你的网站是不够的。代码可能会在将来的某个时候发生更改,或者网站可能会脱机,从而使此问题对未来的用户毫无用处。完成添加代码@mattdy后,您需要在问题中提供相关代码,以及您为解决此问题所做的尝试。仅仅链接到你的网站是不够的。代码可能会在将来的某个时候更改,或者网站可能会脱机,从而使此问题对未来的用户毫无用处。完成添加代码@MattDoh谢谢…但是你这样做会删除联系人按钮中的任何填充吗?哦,谢谢…但是你这样做会删除联系人按钮中的任何填充吗?