浏览器之间的绝对定位 [英] Absolute positioning between browsers

查看:62
本文介绍了浏览器之间的绝对定位的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好

不确定是否有人可以帮助我,我正在为我的

大学工作,并且在使用CSS定位方面遇到了一些麻烦。我是一个非常新的css并且对此不太了解。


这是链接: http://homepages.feis.herts.ac.uk/~b ... ix / matrix.html


基本上,问题是网格上的刻度看起来很完美

放在IE中但在Firefox中出错了,当我编辑它以匹配

Firefox时,它在IE中看起来很奇怪。

有什么想法吗?

Paul

Hi there
Not sure if anyone can help me, I am working on a site for my
university, and am having a bit of trouble with css positioning. I am
very new to css and do not know very much about it.

Here is the link: http://homepages.feis.herts.ac.uk/~b...ix/matrix.html

Basically, the problem is that the ticks on the grid look perfectly
placed in IE but wrong in Firefox, and when I edit it to match
Firefox, it looks strange in IE.
Any ideas?
Paul

推荐答案

文章

< 4d *********************** *********** @ c65g2000hsa。 googlegroups.com>,

mehstg1319< me **** @ gmail.comwrote:
In article
<4d**********************************@c65g2000hsa. googlegroups.com>,
mehstg1319 <me****@gmail.comwrote:

你好


不确定是否有人可以帮助我,我正在为我的

大学工作,并且在使用CSS定位方面遇到了一些麻烦。我是

对css很新,不太了解它。


这是链接:
http://homepages.feis.herts.ac.uk/~ b ... ix / matrix.html


基本上,问题是网格上的刻度看起来很完美

放在IE中但是在Firefox中出错,当我编辑它以匹配

Firefox时,它在IE中看起来很奇怪。


有什么想法吗?
Hi there
Not sure if anyone can help me, I am working on a site for my
university, and am having a bit of trouble with css positioning. I am
very new to css and do not know very much about it.

Here is the link:
http://homepages.feis.herts.ac.uk/~b...ix/matrix.html

Basically, the problem is that the ticks on the grid look perfectly
placed in IE but wrong in Firefox, and when I edit it to match
Firefox, it looks strange in IE.
Any ideas?



html通过


< http://validator.w3.org进行了一些验证错误。 />


但是现在不要紧。为什么你没有使用html表格,

特别合适的东西,众所周知,这是非常好的b / b
在很多方面对浏览器友好?


增加文本大小,看看你的页面是如何拟合的(在FF中,查看菜单,

文本大小,大一点或多点击)。在你的清单中你正在做什么

像宽度:80px;你期望会发生什么,当你的html文本滴答时(你的html文本没有成功并且不能成功),你会发生什么呢?

不适合和更糟。


我花了一些力气试图说服各个人一些

列表在底层表。但是在概念方向上,这对某些事情来说太过分了!


使用表格,你甚至不必指定宽度细胞。

它们会缩小并长大。为什么你为了列表和浮动的魔法而放弃了良性魔法

表。他们甚至没有通过包装来获得漂浮物的优势。

There are a fair few validation errors for the html via

<http://validator.w3.org/>

But never mind this for now. Why are you not using an html table,
something that is particularly appropriate, that is known to be very
cross browser friendly in many ways?

Up the text size and see how your page goes into fits (in FF, View menu,
Text size, Larger a couple or more clicks). In your lists you are doing
things like width: 80px; What do you expect will happen when the text,
your html text ticks (which are not and cannot be pixeled successfully)
don''t fit in and worse.

I have spent some effort trying to convince various folks that some
lists are at bottom tables. But this is taking things too far in some
opposite conceptual direction!

Use a table and you won''t then even have to specify widths for the cell.
They will shrink and grow to fit. Why have you forsaken the benign magic
of tables for the sorcery of lists and floating. They don''t even have
the advantage of floats by wrapping.


>


Paul
>

Paul



-

dorayme

--
dorayme


On 4月16日,11:04,dorayme< doraymeRidT ... @ optusnet.com.auwrote:
On 16 Apr, 11:04, dorayme <doraymeRidT...@optusnet.com.auwrote:

文章

< 4d83e9db -a7de-48f0-8ebb-3bcbd3292 ... @ c65g2000hsa.googlegroups.com>,



* mehstg1319< meh ... @ gmail.comwrote:
In article
<4d83e9db-a7de-48f0-8ebb-3bcbd3292...@c65g2000hsa.googlegroups.com>,

*mehstg1319 <meh...@gmail.comwrote:

您好
Hi there


不确定是否有人可以帮助我,我正在网站上工作对于我的

大学,我在使用CSS定位方面遇到了一些麻烦。我是一个非常新的css,并且不太了解它。
Not sure if anyone can help me, I am working on a site for my
university, and am having a bit of trouble with css positioning. I am
very new to css and do not know very much about it.


这是链接:
http://homepages.feis.herts.ac.uk/~b...ix/matrix.html


基本上,问题是网格上的刻度看起来很完美

放在IE中但在Firefox中出错,当我编辑它以匹配

Firefox,它在IE中看起来很奇怪。
Basically, the problem is that the ticks on the grid look perfectly
placed in IE but wrong in Firefox, and when I edit it to match
Firefox, it looks strange in IE.


有什么想法吗?
Any ideas?



html通过


< http://validator.w3.org进行了一些验证错误。 />


但是现在不要紧。为什么你没有使用html表格,

特别合适的东西,众所周知,这是非常好的b / b
在很多方面对浏览器友好?


增加文本大小,看看你的页面是如何拟合的(在FF中,查看菜单,

文本大小,大一点或多点击)。在你的清单中你正在做什么

像宽度:80px;你期望会发生什么,当你的html文本滴答时(你的html文本没有成功并且不能成功),你会发生什么呢?

不适合和更糟。


我花了一些力气试图说服各个人一些

列表在底层表。但是在概念方向上,这对某些事情来说太过分了!


使用表格,你甚至不必指定宽度细胞。

它们会缩小并长大。为什么你为了列表和浮动的魔法而放弃了良性魔法

表。他们甚至没有包装花车的优势。


There are a fair few validation errors for the html via

<http://validator.w3.org/>

But never mind this for now. Why are you not using an html table,
something that is particularly appropriate, that is known to be very
cross browser friendly in many ways?

Up the text size and see how your page goes into fits (in FF, View menu,
Text size, Larger a couple or more clicks). In your lists you are doing
things like width: 80px; What do you expect will happen when the text,
your html text ticks (which are not and cannot be pixeled successfully)
don''t fit in and worse.

I have spent some effort trying to convince various folks that some
lists are at bottom tables. But this is taking things too far in some
opposite conceptual direction!

Use a table and you won''t then even have to specify widths for the cell.
They will shrink and grow to fit. Why have you forsaken the benign magic
of tables for the sorcery of lists and floating. They don''t even have
the advantage of floats by wrapping.


Paul
Paul



-

dorayme-隐藏引用文字 -


- 显示引用文字 -


--
dorayme- Hide quoted text -

- Show quoted text -



dorayme


首先,非常感谢您抽出宝贵时间来帮助我。我已经按照你的说法完成了

并重新设计了网格以使用标准表格。还有一些b $ b似乎仍然存在网站在IE浏览器中看起来如何与
和Firefox之间的差异。


新版本在这里上传: http://homepages.feis。 herts.ac.uk/~b...le/matrix.html

任何想法

Paul

dorayme

First of all, thanks alot for taking the time to help me. I have done
as you said and redesigned the grid to use standard tables. There
still seems to be some discrepancies between how the site looks in IE
and Firefox.

new version is uploaded here: http://homepages.feis.herts.ac.uk/~b...le/matrix.html
Any ideas
Paul

mehstg1319写道:
mehstg1319 wrote:

4月16日,11:04,dorayme写道:
On 16 Apr, 11:04, dorayme wrote:

>在文章
< ya ************************************** @ googleg roups.com>,
mehstg1319写道:
>In article
<ya**************************************@googleg roups.com>,
mehstg1319 wrote:


>>这是链接:
http://homepages.feis.herts.ac.uk/~b...ix/matrix。 HTML
基本上,问题是网格上的刻度看起来完全放在IE中但在Firefox中是错误的,当我编辑它以匹配Firefox时,它看起来很奇怪在IE中。
>>Here is the link:
http://homepages.feis.herts.ac.uk/~b...ix/matrix.html
Basically, the problem is that the ticks on the grid look perfectly
placed in IE but wrong in Firefox, and when I edit it to match
Firefox, it looks strange in IE.



如果通过ticks你的意思是我在FF中看到的问号以及我在IE6中看到的空白的
方格,然后我想你正在谈论他们的垂直

与左边的对齐 - 手标签。是吗?

If by "ticks" you mean the question marks I see in FF and the empty
squares I see in IE6, then I guess you''re talking about their vertical
alignment with the left-hand labels. Yes?


> html通过

< http进行了很多验证错误://validator.w3.org/>

但是现在不要紧。为什么你没有使用html表,
特别合适的东西,众所周知,它在很多方面都非常适合跨浏览器友好?

提高文字大小,看看你的页面如何适应(在FF,视图菜单,
文本大小,更大的点击几次或更多)。在你的清单中,你正在做像宽度:80px;你期望会发生什么,当你的html文本滴答时(你的html文字没有成功,也不能成功),
不适合,更糟。
>There are a fair few validation errors for the html via

<http://validator.w3.org/>

But never mind this for now. Why are you not using an html table,
something that is particularly appropriate, that is known to be very
cross browser friendly in many ways?

Up the text size and see how your page goes into fits (in FF, View menu,
Text size, Larger a couple or more clicks). In your lists you are doing
things like width: 80px; What do you expect will happen when the text,
your html text ticks (which are not and cannot be pixeled successfully)
don''t fit in and worse.


>>
使用表格,你不会那么甚至必须指定单元格的宽度。
它们会收缩并变得合适。为什么你为了列表和浮动的魔法而放弃了桌子的良性魔法。他们甚至没有通过包装来获得花车的优势。
>>
Use a table and you won''t then even have to specify widths for the cell.
They will shrink and grow to fit. Why have you forsaken the benign magic
of tables for the sorcery of lists and floating. They don''t even have
the advantage of floats by wrapping.


>

首先,非常感谢您花时间来帮助我。我已经完成了

,因为你说
>
First of all, thanks alot for taking the time to help me. I have done
as you said



虽然只是部分

albeit only partially


和重新设计网格以使用标准表。

似乎仍然存在网站在IE浏览器中看起来与bb和Firefox之间的差异。
and redesigned the grid to use standard tables. There
still seems to be some discrepancies between how the site looks in IE
and Firefox.



你知道他们*总是*对于大多数

非平凡页面会有所不同,不是吗?毕竟,它们是不同的浏览器。

You do know that they are *always* going to be different for most
non-trivial pages, don''t you? They are, after all, different browsers.


>

新版本上传到这里: http://homepages.feis.herts.ac.uk/~b .. .le / matrix.html


任何想法
>
new version is uploaded here: http://homepages.feis.herts.ac.uk/~b...le/matrix.html

Any ideas



使/ whole / table成为一个表,包括左边的文字标签。


另外,我想说现在是时候让你的代码验证了(dorayme's

备注)。任何时候你都在抨击IE和FF之间的差异,请记住检查代码的有效性。它可能无法解决你遇到的问题,但它几乎不会伤害。


HTH


-

John

思考UIP的价值: http://improve-usenet.org/


这篇关于浏览器之间的绝对定位的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆