English 中文(简体)
在铬中 Firefox 和 IE 看上去不同
原标题:Firefox and IE looks different in Chrome

The styling I wanted to be is in Chrome but it looks different in Firefox and IE. All my fields are float to the right except the field "name". Is it about the floating? My Chrome: enter image description here

My Firefox and IE: enter image description here

除了"状态"还有巨大的空间 而且页眉在身高上看起来也更大

===CSS====

.column-name { margin: 2px; width: 40%; }
.column-priority { float: right; margin: 2px 12px; text-align: center; width: 100px;}
.column-severity { float: right; margin: 2px 12px; text-align: center; width: 100px;}
.column-status { float: right; margin: 2px; width: 100px;}

HTML。 。 。

   <div class="results-header ">
        <div class="column-status" value="status">Status<span class="sort jive-icon-sml"></span></div>  
        <div class="column-severity" value="severity">Severity<span class="sort jive-icon-sml"></span></div>
        <div class="column-priority" value="priority">Priority<span class="sort jive-icon-sml jive-icon-arrow-generic-down"></span></div>   
        <div class="column-name"  value="name" >Name</div>
    </div>
问题回答

我99%肯定是因为你需要知道它有哪条垫子 因为那些浏览器里有更高的优先级

你可能会成为恒星定律

*{margin:0; padding:0;}

但您需要再次发布更多代码才能让我100%地告诉您该怎么做。 如果您对浏览器的复合性有任何不确定之处, 则您需要 100%地发布 。 btw 。 见 : < a href="http://www. quirksmode.org/ css/contents.html" rel = "nofollow" >http://www.quirksmode.org/ css/contents.html

always use css resets {margin: 0; padding: 0; border: 0; outline: 0;} beacuse every browser has it s own margin, padding...





相关问题
Image rendered with wrong colors in IE8

I have a gradient image as a PNG (no transparency) in a web-page. By taking a screenshot of Chrome showing the page and cropping the image from the page, I see the exact same colors are drawn as the ...

Determine Mobile Internet Explorer version

I need to determine the version of Mobile Internet Explorer on a Windows Mobile 6.1 device. So that I can report the same user-agent string as is being used by Mobile Internet Explorer. The user-...

CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

Internet Explorer only part loading JavaScript/CSS

I m having trouble with my local development environment where IE (6 through to 8) is only part loading JavaScript/CSS files. It throws random errors at random places in jquery.min.js every time I ...

IE doesn t run Javascript when you click back button

I ve built a shop with tons of JS running. One of the pieces of the cart, is a zip code field which is required to calculate shipping cost. This works fine going through the cart. Now clicking ...

热门标签