简体   繁体   English

Safari布局与Firefox不同

[英]Safari layout different than firefox

I have just checked out what my site would look like in safari and there is a padding difference on my table! 我刚刚查看了我的网站在野生动物园中的外观,并且桌子上有填充物!

Where there is a table with one column that has text and another that has a form there is padding so that the text in the left column is not right up to the form! 如果存在一个表,该表的一列包含文本,而另一列包含表单,则在其中填充以使左列中的文本不适合表单! This is not the case in safari and im not sure why! 野生动物园不是这种情况,我不确定为什么!

I would like the padding back please safari! 我想向后填充野生动物园! lol http://www.perfectclaims.com/ppiclaimsnew/index.php 大声笑http://www.perfectclaims.com/ppiclaimsnew/index.php

I have took a picture of what it looks like in safari to show you what I mean! 我拍了野生动物园的照片,向您展示了我的意思! http://www.perfectclaims.com/ppiclaimsnew/safari.gif You can see that the text is right up again the blue form! http://www.perfectclaims.com/ppiclaimsnew/safari.gif您可以看到文本再次以蓝色形式正对!

On second look, the textbox width is different in Safari. 再看一遍,Safari中的文本框宽度是不同的。 You may want to check that (with a ruler, perhaps? :D). 您可能想检查一下(也许用尺子?:D)。

Otherwise, layout looks OK, unless you're aiming for pixel-perfect placement. 否则,除非您的目标是像素完美的布局,否则布局看起来还可以。 Which is just absurd in this era of browser ubiquity. 在当今浏览器无处不在的时代,这是荒谬的。

Update : 更新

Digging through the HTML, I took this snippet of HTML from one of your textboxes: 深入研究HTML,我从您的一个文本框中获取了以下HTML代码段:

<input 
    name="fullname" 
    tabIndex="1" 
    class="formText" 
    id="fullname" 
    style="border-bottom: medium none; border-left: medium none; font-size: 20px; border-top: medium none; border-right: medium none;" 
    type="text" 
    size="30"
/>

Preferable, you may want to set the textbox size from the style attribute instead of size. 最好是,您可能想通过样式属性而不是大小来设置文本框的大小。 That will give you more pixel perfect page. 这将为您提供更多像素完美的页面。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM