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

问题描述

您好,

我有来自Andreas的这个模板,我想在Yahoo!中使用

Geocities。


您可以在此处查看:



这是原作:


它在所有显示中都正确显示IE浏览器除外,其中右边是

栏:


#sidebar {

宽度:153px;

float:right;

margin-top:5px;

font-size:0.9em;

line-height:1.3em ;

}


显示不正确。


在原来的CSS中我不得不从宽度改变#sidebar: 155px;到

宽度:153px;因为菜单被移到了底部

IE,


它与Geocities服务器添加的一些代码有关,

因为它本身(我的意思是在本地查看或上传到

干净服务器)它在所有浏览器中都能正确显示。


访问密钥也不能在IE中工作,但这是一个不同的问题。


任何想法?


谢谢

Hi there,

I have this template from Andreas that I''d like to use in Yahoo!
Geocities.

You can view it here:
http://www.geocities.com/rafael_minuesa/andreas/

and this is the original:
http://andreasviklund.com/templates/andreas03/

It displays correctly in all browsers except in IE, where the right
column:

#sidebar{
width:153px;
float:right;
margin-top:5px;
font-size:0.9em;
line-height:1.3em;
}

displays incorrectly.

In the original css I had to change #sidebar from width:155px; to
width:153px; because the menu was being displaced to the bottom in
IE,

It has something to do with some code added by the Geocities server,
because on its own (and by that I mean locally viewed or uploaded to a
"clean" server) it displays correctly in all browsers.

Access keys don''t work in IE either, but that''s a different issue.

Any ideas?

Thanks

推荐答案



< snip>

<snip>



服务器正在DOCTYPE前面添加元素。 DOCTYPE是

,旨在将所有浏览器置于标准范围内。而不是怪癖模式

但在改变这种行为之前根本没有文字。


-

Ben。

The server is adding elements in front of the DOCTYPE. The DOCTYPE is
designed to put all browsers in "standards" rather than "quirks" mode
but any text at all before it changes this behaviour.

--
Ben.




< snip>

<snip>



服务器正在DOCTYPE前面添加元素。 * DOCTYPE是

,旨在将所有浏览器置于标准中。而不是怪癖模式

但在改变此行为之前的所有文本。


The server is adding elements in front of the DOCTYPE. *The DOCTYPE is
designed to put all browsers in "standards" rather than "quirks" mode
but any text at all before it changes this behaviour.



这是要添加的代码:

< script language =" JavaScript"> var PUpage =" 76001548" ;; var

PUprop =" geocities" ;; < / script>

< script language =" JavaScript" src =" http://www.geocities.com/js_source/

pu5geo.js">< / script>

< script language =" JavaScript" var thGetOv =" http://

themis.geocities.yahoo.com/themis/h.php" ;; var thCanURL =" http://

us.geocities.com/rafael_minuesa/index.html" ;; var thSpaceId =" 76001548";

var thIP =" 149.254.192.216" ;; var thTs =" 1221142198" ;; var

thCs =" eca143e1e19d7668d191423109654f94" ;;< / script>

< noscript>< link rel =" stylesheet" href =" http://

themis.geocities.yahoo.com/jsoff.css?

thIP = 149.254.192.216& thTs = 1221142198">< ; / noscript>

< script language =" JavaScript" src =" http://us.geocities.com/js_source/

geovck08.js">< / script>


任何解决方法你可能知道吗?


谢谢。

This is the code being added:
<script language="JavaScript">var PUpage="76001548"; var
PUprop="geocities"; </script>
<script language="JavaScript" src="http://www.geocities.com/js_source/
pu5geo.js"></script>
<script language="JavaScript"var thGetOv="http://
themis.geocities.yahoo.com/themis/h.php"; var thCanURL="http://
us.geocities.com/rafael_minuesa/index.html"; var thSpaceId="76001548";
var thIP="149.254.192.216"; var thTs="1221142198"; var
thCs="eca143e1e19d7668d191423109654f94";</script>
<noscript><link rel="stylesheet" href="http://
themis.geocities.yahoo.com/jsoff.css?
thIP=149.254.192.216&thTs=1221142198"></noscript>
<script language="JavaScript" src="http://us.geocities.com/js_source/
geovck08.js"></script>

Any workarounds that you may know of?

Thank you.




这是要添加的代码:


This is the code being added:



没关系*添加了什么* 。什么部分的任何文本

不清楚吗?

It doesn''t matter *what* gets added. What part of "any text at all" is
not clear to you?



将你的页面存放在某个无法解决的地方。


sherm--


-

我的博客:

Perl中的Cocoa编程:


这篇关于IE和Geocities的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-01 21:25