Arghh - 为什么这个SPAN放在NS7的其他地方? [英] Arghh - why is this SPAN placed elsewhere in NS7?

查看:84
本文介绍了Arghh - 为什么这个SPAN放在NS7的其他地方?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请帮助 - 我在我的智慧结束......

我得到两个不同的内容包含在一个内容中

<跨度>在Netscape和Internet Explorer中标记(大惊喜!)。我更喜欢

页面在IE中的样子(描绘绘画的文字应该是

就在画面的右边)。但是,在Netscape中,这个

相同的文本被神秘地降级到页面底部。什么

校正/调整我需要制作才能让Netscape获得

在画面旁边显示这个文字 - 同时不会破坏它
$在Internet Explorer中b $ b?


这是有问题的页面:
http://www.sarahpollock.com/surrender.htm

谢谢,

-M

Please help - I''m at my wits'' end....
I''m getting two different placements of some content wrapped in a
<span> tag in Netscape and Internet Explorer (big surprise!). I prefer
how the page looks in IE (the text describing the painting should be
just to the right side of the painting). However, in Netscape, this
same text is mysteriously relegated to the bottom of the page. What
correction / adjustment do I need to make in order to get Netscape to
display this text along side of the painting -- while not wrecking it
in Internet Explorer?

Here''s the page in question:
http://www.sarahpollock.com/surrender.htm
Thank you,
-M

推荐答案

2003年12月3日19:57:58 -0800左右,Mercury Mercurius据报道

已声明:
Sometime around 3 Dec 2003 19:57:58 -0800, Mercury Mercurius is reported to
have stated:
我得到两个不同的内容,包含在
< span>中。 Netscape和Internet Explorer中的标签

http:// www。 sarahpollock.com/surrender.htm
I''m getting two different placements of some content wrapped in a
<span> tag in Netscape and Internet Explorer

http://www.sarahpollock.com/surrender.htm




在IE和Mozilla中看起来相同(NS6 +基于Mozilla)。

除非你在谈论NS4,否则我会建议你忘记

甚至尝试。 :-)


-

Mark Parnell
http://www.clarkecomputers.com.au


我********* @ yahoo.com (Mercury Mercurius)写道

新闻:3f *** **********************@posting.google.co m:
me*********@yahoo.com (Mercury Mercurius) wrote in
news:3f*************************@posting.google.co m:
请帮忙 - 我在我的智慧'结束......
我得到两个不同的内容包含在
< span>中在Netscape和Internet Explorer中标记(大惊喜!)。我更喜欢页面在IE中的外观(描述绘画的文字应该在绘画的右侧)。但是,在Netscape中,这个相同的文本被神秘地降级到了页面的底部。为了让Netscape能够在画面旁边显示这个文字 - 而不是在Internet Explorer中破坏它/
,我需要做些什么来进行校正/调整?

这是有问题的页面:
http:// www.sarahpollock.com/surrender.htm
Please help - I''m at my wits'' end....
I''m getting two different placements of some content wrapped in a
<span> tag in Netscape and Internet Explorer (big surprise!). I prefer
how the page looks in IE (the text describing the painting should be
just to the right side of the painting). However, in Netscape, this
same text is mysteriously relegated to the bottom of the page. What
correction / adjustment do I need to make in order to get Netscape to
display this text along side of the painting -- while not wrecking it
in Internet Explorer?

Here''s the page in question:
http://www.sarahpollock.com/surrender.htm




实际上在IE6,K-Meleon 0.8(基于Mozilla)和Opera 7.22中

描述完全缺失。这并不奇怪,因为你设置了

你的标题。 div与bottom:140px的相对定位。由于

标题是你页面上第一个没有绝对定位的标题,

它在布局流程中的初始位置位于<的左上角br />
视口,然后相对定位从底部向上移动140像素

,将其完全放在屏幕上。


将其风格改为位置:绝对;右:0;顶部:140px;把它放在

a合理的地方。


不要将正文字体大小设置为90%,也不要将锚字体大小设置为

80%(请记住,百分比是基于计算出的尺寸,所以这使得

锚定了他们已经拥有的72%的大小如果你没有摆弄

尺寸)。不要将Verdana作为默认字体(这可能是什么

诱惑你减小尺寸; Verdana是大尺寸和文字

看起来Verdana中的正确尺寸几乎不会在任何其他任何其他

字体中显示。



Actually in IE6, K-Meleon 0.8 (Mozilla-based), and Opera 7.22 the
description is completely missing. That''s not surprising, because you set
your "caption" div to relative positioning with "bottom: 140px". Since the
caption is the first thing on your page that isn''t absolutely positioned,
its initial position in the layout flow is at the top left corner of the
viewport, and then the relative positioning moves its bottom up 140 pixels
from there, putting it completely off the screen.

Changing its style to "position:absolute; right: 0; top: 140px;" put it in
a reasonable place.

Don''t set the body font size to 90%, and don''t set the anchor font size to
80% (remember that percentages are based on computed sizes, so that makes
anchors 72% of the size they''d have had if you hadn''t fiddled with the
sizes). Don''t make Verdana the default font (which is probably what
tempted you to reduce the size; Verdana is "big for its size" and text that
looks the right size in Verdana will look too small in almost any other
font).


您的问题可能只是您正在使用定位。我建议为Netscape创建一个单独的页面,该页面看起来就是那个

浏览器并使用常见的浏览器检测脚本来获取浏览器

正确的页面。

------------------------------------- -------------------------------------

Mercury Mercurius写道:
Your problem is probably just that you were using positioning. I
suggest making a separate page for Netscape that looks right on that
browser and use a common browser-detection script to get the browsers on
the proper page.
--------------------------------------------------------------------------
Mercury Mercurius wrote:
请帮忙 - 我在我的智慧结束....
我正在获得两个不同的内容包含在一个内容中
<跨度>在Netscape和Internet Explorer中标记(大惊喜!)。我更喜欢页面在IE中的外观(描述绘画的文字应该在绘画的右侧)。但是,在Netscape中,这个相同的文本被神秘地降级到了页面的底部。为了让Netscape能够在画面旁边显示这个文字 - 而不是在Internet Explorer中破坏它/
,我需要做些什么来进行校正/调整?

这是有问题的页面:
http:// www.sarahpollock.com/surrender.htm
谢谢,
-M
Please help - I''m at my wits'' end....
I''m getting two different placements of some content wrapped in a
<span> tag in Netscape and Internet Explorer (big surprise!). I prefer
how the page looks in IE (the text describing the painting should be
just to the right side of the painting). However, in Netscape, this
same text is mysteriously relegated to the bottom of the page. What
correction / adjustment do I need to make in order to get Netscape to
display this text along side of the painting -- while not wrecking it
in Internet Explorer?

Here''s the page in question:
http://www.sarahpollock.com/surrender.htm
Thank you,
-M






这篇关于Arghh - 为什么这个SPAN放在NS7的其他地方?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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