阴影效果具有相对定位 [英] Shadow effect with relative positioning

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

问题描述

我开始重新设计我的网站以摆脱基于表格的布局,并且

以包含相当数量的跨浏览器可靠性,优雅

退化和标准合规。


我使用 www.loyalwatcher.com/cssindex4.htm 在转换剩余的

网站之前尝试和b / b
尽可能多地解决问题。此页面验证为html 4.01 strict和CSS
www.loyalwatcher.com /main.css 传递W3C验证器。


使用Dan Vine的Safari模拟器测试页面时,出现带阴影的文本

在两行中,颜色不是建议的。这个方法

不可靠(还有替代方案),还是我只需要调整我的

CSS?


对html / CSS结构或网站设计的任何评论也欢迎。


TIA


Nik


-

我希望与你对我的意见的解释分离

I''m beginning to redesign my site to move away from table-based layouts, and
to incorporate a decent amount of cross-browser reliability, graceful
degradation and standards compliance.

I have used the index page at www.loyalwatcher.com/cssindex4.htm to try and
work through as many issues as possible before converting the rest of the
site. This page validates as html 4.01 strict and the CSS at
www.loyalwatcher.com/main.css passes the W3C validator.

When testing the page using Dan Vine''s Safari Emulator, the shadowed text
appears in two lines, and the colours aren''t as suggested. Is this method
not reliable (and is there an alternative), or do I just need to tweak my
CSS?

Any comments on html/CSS structure or site design also welcomed.

TIA

Nik

--
I wish to be dissociated from your interpretation of my opinions

推荐答案

在星期二,2005年1月4日16:15:32 -0000,Nik Thomas< nik.thomas>写道:
On Tue, 4 Jan 2005 16:15:32 -0000, Nik Thomas <nik.thomas> wrote:
www.loyalwatcher.com/ cssindex4.htm




没有回答你的问题,但请看看

< http://home.wanadoo。 NL / b.de.zoete / _test / loyalwatcher.png取代。看看页面左侧的菜单如何下降到所有其他内容之下?这是你怎么想要这个页面的价格?


(WinXP Opera7.54)


-

, - - < - @ ---- PretLetters:''woest wyf'',遇见了vele interesses:-----------。

|博客| < HTTP://home.wanadoo.nl/b.de.zoete/_private/weblog.html> |

| webontwerp | < HTTP://home.wanadoo.nl/b.de.zoete/html/webontwerp.html> |

| zweefvliegen | < HTTP://home.wanadoo.nl/b.de.zoete/html/vliegen.html> |

` ---------------------------------------- ------------- - < - @ ------------''



No answer to your question, but go see
<http://home.wanadoo.nl/b.de.zoete/_test/loyalwatcher.png>. See how the menu on
the left side of your page drops to below all other content? Is this how you
want the page to be?

(WinXP Opera7.54)

--
,-- --<--@ ---- PretLetters: ''woest wyf'', met vele interesses: -----------.
| weblog | <http://home.wanadoo.nl/b.de.zoete/_private/weblog.html> |
| webontwerp | <http://home.wanadoo.nl/b.de.zoete/html/webontwerp.html> |
| zweefvliegen | <http://home.wanadoo.nl/b.de.zoete/html/vliegen.html> |
`----------------------------------------------------- --<--@ ------------''


" ; Nik Thomas < nik.thomas>写道:
"Nik Thomas" <nik.thomas> wrote:
我使用 www.loyalwatcher.com/cssindex4.htm 在转换网站的其余部分之前尝试尽可能多地解决问题。此页面验证为html 4.01 strict和CSS
www.loyalwatcher.com /main.css 通过W3C验证器。

使用Dan Vine的Safari模拟器测试页面时,阴影文本显示为两行,颜色不是按照建议。这种方法不可靠(并且有替代方案),还是我只需要调整我的CSS?


以这种方式创建阴影效果很愚蠢,它需要2个内容

Loyal Watcher实例。使用图像作为花哨的标题,提供

文本作为alt内容,并将其包装在适当的标题标记中。

使用2 h1'很少是正确的标记。

对html / CSS结构或网站设计的任何评论也欢迎。
I have used the index page at www.loyalwatcher.com/cssindex4.htm to try and
work through as many issues as possible before converting the rest of the
site. This page validates as html 4.01 strict and the CSS at
www.loyalwatcher.com/main.css passes the W3C validator.

When testing the page using Dan Vine''s Safari Emulator, the shadowed text
appears in two lines, and the colours aren''t as suggested. Is this method
not reliable (and is there an alternative), or do I just need to tweak my
CSS?
Creating a shadow effect this way is silly, it requires 2 content
instances of "Loyal Watcher". Use an image for fancy headers, provide
the text as alt content, and wrap it in an appropriate header markup.
Using 2 h1''s is rarely proper markup.
Any comments on html/CSS structure or site design also welcomed.




您使用的方式紧跟h1'的跟随h2非常糟糕

形式,h2内容属于h1。


标题div似乎是多余的,而不是样式h1。


新的页面在Opera中分崩离析,蓝色的背景看起来并不好

imo,在webring框中的白色文本上的黄色/白色是不可能的/>
阅读。


指定一个windows charset不是很好。


-

Spartanicus



The way you used immediately followed the h1''s with an h2 is imo bad
form, the h2 content belongs in the h1.

The header div seems superfluous, style the h1 instead.

The new page falls apart in Opera, the blue background doesn''t look good
imo, the yellow/white on white text in the webring box is impossible to
read.

Specifying a windows charset is not very nice.

--
Spartanicus


Spartanicus.exe在图灵测试中失败
Spartanicus.exe failed a Turing test with

以这种方式创建阴影效果很愚蠢,它需要2个内容的实例L oyal Watcher。使用图像作为花哨的标题,将文本作为alt内容提供,并将其包装在适当的标题标记中。
使用2 h1'很少是正确的标记。


注意。

Creating a shadow effect this way is silly, it requires 2 content
instances of "Loyal Watcher". Use an image for fancy headers, provide
the text as alt content, and wrap it in an appropriate header markup.
Using 2 h1''s is rarely proper markup.
Noted.
对html / CSS结构或网站设计的任何评论也欢迎。
您使用的方式紧跟h1'的h2是非常糟糕的形式,h2内容属于h1。
Any comments on html/CSS structure or site design also welcomed.
The way you used immediately followed the h1''s with an h2 is imo bad
form, the h2 content belongs in the h1.




注意到。
标题div似乎是多余的,风格而是h1。


好​​的 - 我认为这可能来自早期的测试,其中我有

< Header>< Nav>< Content>。我会看那个。
Opera的新页面分崩离析,


坚果。这是一个午餐时间的工作爱好,我不能安装任何其他浏览器(除IE5.5之外还提供NN4.6)。我希望通过一个相对简单的结构并使用

有效的html来避免任何问题。您可以轻松向我解释这个问题的原因吗?

蓝色背景看起来不是很好imo,webring框中的白色文字上的黄色/白色是<无法阅读。


嗯,我在Grey身上看到海军,这就是我的意图。任何想法为什么

这可能是?

指定一个windows charset不是很好。



Noted.
The header div seems superfluous, style the h1 instead.
Okay - I think it''s probably from an earlier test where I had
<Header><Nav><Content>. I''ll look at that.
The new page falls apart in Opera,
Nuts. This is a bit of a lunchtime-at-work hobby and I can''t install any
other browsers (NN4.6 is helpfully provided in addition to IE5.5). I''d
hoped to avoid any issues by having a relatively simple structure and using
valid html. Is the reason for this one that you can explain to me easily?
the blue background doesn''t look
good imo, the yellow/white on white text in the webring box is
impossible to read.
Hmm, I''m seeing Navy on Gray, which is what I had intended. Any ideas why
this might be?

Specifying a windows charset is not very nice.




注意到。一个快速的谷歌建议ISO-8859-1可能会更好?


-

我希望与你对我的意见的解释分离


很少有人会想,但都有意见。



Noted. A quick google suggests ISO-8859-1 might be better?

--
I wish to be dissociated from your interpretation of my opinions

Few men think, but all have opinions.


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

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