CSS定位问题 [英] Problem with CSS positionning

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

问题描述

您好,


我设计了一个使用任何表格的网站,所有内容都是定位的

使用css,内容进入div。但是我注意到

网站

看起来不同浏览器。我想知道如何使用这个

无需为每个浏览器添加CSS。

这里是一个链接到页面
http://www.myexersize.com/biography/


我正在使用绝对定位。我想改变那个

到亲戚。

网站在IE6上显示得非常好


请指教

Hello,

I''ve designed a website with using any tables, everything is postionned
using css, content goes into divs. However I''ve noticed that the
website
looks different across browsers. I would like to know how to invoid
this
without having to include a CSS for every browser.
Here''s a link to the page
http://www.myexersize.com/biography/

I am using absolute positionning. I am thinking of changing that
to relative.
The website displays quite nicely on IE6

Please advise

推荐答案

seajay写道:
你好,

我设计了一个网站使用任何表,一切都是使用CSS定位,内容进入div。但是我注意到
网站在浏览器中看起来不同。我想知道如何使用
这个
而不必为每个浏览器都包含一个CSS。
这里是该页面的链接
http://www.myexersize.com/biography/

我正在使用绝对值positionning。我想把它改成亲戚。
网站在IE6上显示得非常好

请指教
Hello,

I''ve designed a website with using any tables, everything is postionned
using css, content goes into divs. However I''ve noticed that the
website
looks different across browsers. I would like to know how to invoid
this
without having to include a CSS for every browser.
Here''s a link to the page
http://www.myexersize.com/biography/

I am using absolute positionning. I am thinking of changing that
to relative.
The website displays quite nicely on IE6

Please advise




您的DOCTYPE不在第1行。您的页面无法验证。在寻求帮助之前修复你的

页面。



Your DOCTYPE is not on line 1. Your page does not validate. Fix your
page before asking for help.


" seajay" < SE **** @ teckies.com>写道:
"seajay" <se****@teckies.com> wrote:
我设计了一个使用任何表格的网站,一切都是定位的
使用CSS,内容进入div。


一个常见的新错误。
http://www.myexersize.com/biography/
http://homepage.ntlworld.com/spartanicus/seajay.png

我正在使用绝对定位。我想把它改成亲戚。
I''ve designed a website with using any tables, everything is postionned
using css, content goes into divs.
A common newb mistake.
http://www.myexersize.com/biography/
http://homepage.ntlworld.com/spartanicus/seajay.png
I am using absolute positionning. I am thinking of changing that
to relative.




不要,摆脱所有的定位。你已经完全误解了它应该如何使用(如果有的话)。


-

Spartanicus



Don''t, get rid of all positioning. You''ve completely misunderstood how
it should be used (if at all).

--
Spartanicus


CA Upsdel​​l<"" cupsdel​​lXXX \" @ - @ - @ XXXupsdel​​l.com">写道:
C A Upsdell <""cupsdellXXX\"@-@-@XXXupsdell.com"> wrote:
你的DOCTYPE不在第1行。
Your DOCTYPE is not on line 1.




那么?


-

David H?s?



So?

--
David H?s?ther


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

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