Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/36.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
在opera中忽略css填充_Css_Html Lists_Opera_Padding - Fatal编程技术网

在opera中忽略css填充

在opera中忽略css填充,css,html-lists,opera,padding,Css,Html Lists,Opera,Padding,我在page index.html中有表单 <div class = "bottom_r"> <h1>Get in Touch</h1> <form action="index.html" method="post"> <ul> <li><input class = "input" type="text" name="fname" value = "Name:" />&

我在page index.html中有表单

<div class = "bottom_r">
    <h1>Get in Touch</h1>
    <form action="index.html" method="post">
      <ul>
        <li><input class = "input" type="text" name="fname" value = "Name:" /></li>
        <li><input class = "input" type="text" name="lname" value = "Email:" /></li>
        <li><textarea class = "textarea" >Message:</textarea></li>
        <li><input class="text_button" type="submit" value="Submit" /></li>
      </ul>
    </form>
</div>
但填充:
左填充:20px仅适用于第一个
  • ,此问题仅在opera中存在,在所有浏览器中它工作正常,我找不到问题,请帮助:)


    在线编码:

    我不知道这是什么原因,我可以复制它,但看不出有什么问题,但是如果将50px填充从
  • 移动到他们的
      ,它可以正常工作:

      .bottom_r ul {
          padding: 50px;
      }
      

      请参见最后一个实例中的,如果其他方法无效,请使用:

      @media all and (-webkit-min-device-pixel-ratio:10000), not all and (-webkit-min-device-pixel-ratio:0) {
            .class {proprieties}
       }
      

      只对歌剧有效。

      顺便说一句。。。你的问题是你的

      .main li {
          display: inline;
      }
      
      只需在需要的地方定义ist,而不是在整个ist中。main

      更改第62行:

      .main > ul li
      

      你使用哪种版本的歌剧?我看不出Opera和今天更新的FFNevest版本之间有任何区别。我无法在Opera 11.62或12.0(新升级)中重现问题。看这里,我添加了所有代码;)@user1069874好的,现在我可以看到了
      .main > ul li