IE6.0和样式表的问题:-( [英] Problems with IE6.0 and stylesheets :-(

查看:90
本文介绍了IE6.0和样式表的问题:-(的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望有人可以帮忙!


看看我正在开发的这个网站 - http://tinyurl.com/6d4nr


正如您将看到的,如果您在IE6中查看它,浏览器完全搞砸了样式表,并将徽标敲得太远等等。我已经检查过了

在Mozilla,Netscape 7,Opera和Firefox中它的工作正常。


任何想法我可以做些什么来让IE工作,但不要让其他

浏览器搞砸了?


任何帮助将不胜感激! :-)


提前致谢


-

IanUK

赫特福德郡,英国

解决方案

IanUK写道:

我希望有人可以帮忙!

看看我正在开发的这个网站 -
http ://tinyurl.com/6d4nr

请不要将tinyurls发布到您的网站。没有人知道他们在哪里确实领先,并且可能不愿意访问。

你会看到你在IE6中看到它,浏览器完全没有
拧紧样式表并将徽标撞得太远
等等。我已经在Mozilla,Netscape 7,Opera和Firefox中检查了它并且它工作正常。




我认为这个问题可能是你使用了关键字body在

你的标记和CSS,用于表示内容列。其中一个

浏览器将其解释为< body>该文件。


更改< div id =" body">相关的东西,比如

< div id =" maincontent">或其他重要的描述性词语,在您的

HTML和CSS中。


在页面中添加DOCTYPE并访问:

< ; http://validator.w3.org/check?verbose = 1& uri = http%3A // homepage.ntlworld.com / i.anker / re / default.htm>


有一些错误。


为什么会这样?为什么不把菜单放在页面上?
http://homepage.ntlworld.com/i.anker/re/css/footer.js
http://homepage.ntlworld.com/i.anker/re/css/date.js


-

-bts

-这个空间故意留空。


" Beauregard T. Shagnasty <一个********* @ example.invalid>。在消息中写道

news:34 ************* @ individual.net ...

IanUK写道:
< blockquote class =post_quotes>我希望有人可以帮忙!

看看我正在开发的这个网站 -
http://tinyurl.com/6d4nr
请不要将tinyurls发布到您的网站。没有人知道他们在哪里真正领导,并且可能不愿意访问。




感谢您的反馈 - 抱歉,我没有意识到TinyURLs。实际的

地址是:

http://homepage.ntlworld.com/i.anker/re/default.htm

正如你将看到的,如果你在IE6中看到它,浏览器已经完全搞砸了样式表并将徽标敲得太远
等我已经在Mozilla,Netscape 7,Opera中查看了它和Firefox
它工作正常。

任何想法,我可以做什么让IE工作,但不会导致其他浏览器被搞砸?



我认为问题可能是您使用了关键字body。在您的标记和CSS中,表示内容列。其中一个浏览器将其解释为< body>该文件。

更改< div id =" body">相关的东西,比如
< div id =" maincontent">或者其他重要的描述性词语,在你的HTML和CSS中。




我会看看改变div id =" body"然后看看是否有效

并再次尝试验证。

在页面中添加DOCTYPE并访问:

< http://validator.w3 .org / check?verbos .... ntlworld.com/

i.anker / re / default.htm>
有一些错误。

为什么这样的东西?为什么不把菜单放在页面上?
http://homepage.ntlworld.com/i.anker/re/css/footer.js
http://homepage.ntlworld.com/i.anker/re/css/date.js



我把footer.js和date.js打开的唯一原因是我可以更新

一个文件然后这将在整个网站上进行更改。目前非常重要,因为这个网站只有三页,但如果有更多页面,可能会更加重要。

是否可以通过javascripts进行这种(或类似的)方式?


再次感谢。


-

IanUK

英国赫特福德郡


Beauregard T. Shagnasty< a。** *******@example.invalid>写道:

IanUK写道:

我希望有人可以帮忙!

看看我正在开发的这个网站 -
http://tinyurl.com/6d4nr



请不要将tinyurls发布到您的网站。没有人知道他们在哪里真正领导,并且可能不愿意访问。




更不用说他们超时了,因此对于存档是无用的/>
用途 - Usenet的一个很好的功能。


I hope someone may be able to help please!

Have a look at this site which I''m developing - http://tinyurl.com/6d4nr

As you will see if you look at it in IE6, the browser has completely screwed
the stylesheet and knocked the logo over too far etc. I''ve checked it out
in Mozilla, Netscape 7, Opera and Firefox and it''s working fine.

Any ideas what I can do to get IE to work but then not to cause the other
browsers to get screwed?

Any help would be gratefully appreciated! :-)

Thanks in advance

--
IanUK
Hertfordshire, UK

解决方案

IanUK wrote:

I hope someone may be able to help please!

Have a look at this site which I''m developing -
http://tinyurl.com/6d4nr
Please don''t post tinyurls to your site. Nobody knows where they
really lead, and may be reluctant to visit.
As you will see if you look at it in IE6, the browser has
completely screwed the stylesheet and knocked the logo over too far
etc. I''ve checked it out in Mozilla, Netscape 7, Opera and Firefox
and it''s working fine.

Any ideas what I can do to get IE to work but then not to cause the
other browsers to get screwed?



I think the problem may be that you have used the keyword "body" in
your markup, and CSS, to indicate a content column. One of the
browsers interprets that as the <body> of the document.

Change <div id="body"> to something relevant, like
<div id="maincontent"> or other significant descriptive word, in your
HTML and CSS.

Add a DOCTYPE to the page and visit:
<http://validator.w3.org/check?verbose=1&uri=http%3A//homepage.ntlworld.com/i.anker/re/default.htm>

There are some errors.

Why stuff like this? Why not just put the menu on the page?
http://homepage.ntlworld.com/i.anker/re/css/footer.js
http://homepage.ntlworld.com/i.anker/re/css/date.js

--
-bts
-This space intentionally left blank.


"Beauregard T. Shagnasty" <a.*********@example.invalid> wrote in message
news:34*************@individual.net...

IanUK wrote:

I hope someone may be able to help please!

Have a look at this site which I''m developing -
http://tinyurl.com/6d4nr
Please don''t post tinyurls to your site. Nobody knows where they
really lead, and may be reluctant to visit.



Thanks for the feedback - sorry I didn''t realise about TinyURLs. The actual
address is:

http://homepage.ntlworld.com/i.anker/re/default.htm

As you will see if you look at it in IE6, the browser has
completely screwed the stylesheet and knocked the logo over too far
etc. I''ve checked it out in Mozilla, Netscape 7, Opera and Firefox
and it''s working fine.

Any ideas what I can do to get IE to work but then not to cause the
other browsers to get screwed?



I think the problem may be that you have used the keyword "body" in
your markup, and CSS, to indicate a content column. One of the
browsers interprets that as the <body> of the document.

Change <div id="body"> to something relevant, like
<div id="maincontent"> or other significant descriptive word, in your
HTML and CSS.



I''ll have a look at changing the div id="body" and then see if that works
and try the validation again.

Add a DOCTYPE to the page and visit:
<http://validator.w3.org/check?verbos....ntlworld.com/
i.anker/re/default.htm>
There are some errors.

Why stuff like this? Why not just put the menu on the page?
http://homepage.ntlworld.com/i.anker/re/css/footer.js
http://homepage.ntlworld.com/i.anker/re/css/date.js


The only reason I put the footer.js and date.js on is so that I can update
one file and then this will make changes across the whole of the site. Not
so crucial at the moment as this site is only three pages but could be more
important later on if there are more pages. Is there an accessible way of
doing this (or similar) but without resorting to javascripts?

Thanks again.

--
IanUK
Hertfordshire, UK


Beauregard T. Shagnasty <a.*********@example.invalid> wrote:

IanUK wrote:

I hope someone may be able to help please!

Have a look at this site which I''m developing -
http://tinyurl.com/6d4nr



Please don''t post tinyurls to your site. Nobody knows where they
really lead, and may be reluctant to visit.



Not to mention they time out, and as such are useless for archiving
purposes - one of the good features of Usenet.


这篇关于IE6.0和样式表的问题:-(的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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