Opera 7.23中的字体大小失败 [英] Font Size fails in Opera 7.23

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

问题描述

在Opera 7.23中,我无法控制sideBar和topBar div中的字体大小。

MSIE 6或Mozilla没问题

相关的css是:(我'尝试了很多变化)


A {FONT:90%Arial,helvetica,sans-serif; }

答:链接{背景:#ffffff;颜色:#0000cc;字体:80%Arial,helvetica,sans-serif;}

A:被访问{背景:#fcfcf0;颜色:#6666cc; FONT:80%Arial,helvetica,sans-serif;}

A:HOVER {背景:#666633;颜色:#ffffff; FONT:80%Arial,helvetica,sans-serif;}

A:ACTIVE {背景:#000099;颜色:#ff0000; FONT:80%Arial,helvetica,sans-serif;}


#sideBar A {FONT:70%; }

#topBar答:{FONT-SIZE:50%; }


该页面是 http: //masonc.home.netcom.com/1index.html


" 4.01 Transistional" (怪癖:MSIE中固定职位所必需的)


梅森C

In Opera 7.23 I am unable to control the font sizes in sideBar and topBar divs.
No problem in MSIE 6 or Mozilla
The pertinent css is: (I''ve tried many variations)

A { FONT: 90% Arial, helvetica, sans-serif; }
A:LINK { BACKGROUND: #ffffff; COLOR: #0000cc; FONT: 80% Arial,helvetica,sans-serif;}
A:VISITED { BACKGROUND: #fcfcf0; COLOR: #6666cc; FONT: 80% Arial,helvetica,sans-serif;}
A:HOVER { BACKGROUND: #666633; COLOR: #ffffff; FONT: 80% Arial,helvetica,sans-serif;}
A:ACTIVE { BACKGROUND: #000099; COLOR: #ff0000; FONT: 80% Arial,helvetica,sans-serif;}

#sideBar A { FONT: 70% ; }
#topBar A: { FONT-SIZE: 50% ; }

The page is http://masonc.home.netcom.com/1index.html

"4.01 Transistional" (Quirks: necessary for fixed positions in MSIE)

Mason C

推荐答案

MasonC< ma * ***@ix.netcom.XYZcom>写道:
MasonC <ma****@ix.netcom.XYZcom> wrote:
在Opera 7.23中,我无法控制sideBar和topBar
div中的字体大小。[...]
该页面是 http://masonc.home.netcom.com/1index.html
In Opera 7.23 I am unable to control the font sizes in sideBar and topBar
divs.[...]
The page is http://masonc.home.netcom.com/1index.html




检查Opera副本中指定的最小字体大小。您指定的

字体大小调用了我的最小字体大小。


您使用的是相对字体大小,但整个页面看起来要小得多
当我删除最小字体大小时
。从正常文本的100%开始,

只有较小的法律术语和类似的精细打印,普通读者可以安全地忽略。

-

Darin McGrew, mc****@stanfordalumni.org http://www.rahul.net/mcgrew/

网页设计分组, da***@htmlhelp.com http://www.HTMLHelp.com/

当你不在右边时,跑步的用途是什么road?"



Check the minimum font size specified in your copy of Opera. Your specified
font sizes invoked my minimum font size.

You''re using relative font sizes, but the whole page seems much smaller
when I drop the minimum font size. Start with 100% for normal text, and
only go smaller for legalese and similar fine print that the average reader
can safely ignore.
--
Darin McGrew, mc****@stanfordalumni.org, http://www.rahul.net/mcgrew/
Web Design Group, da***@htmlhelp.com, http://www.HTMLHelp.com/

"What is the use of running when you are not on the right road?"


MasonC< ma **** @ ix.netcom.XYZcom>写道:
MasonC <ma****@ix.netcom.XYZcom> wrote:
在Opera 7.23中,我无法控制sideBar和topBar
div中的字体大小。[...]
该页面是 http://masonc.home.netcom.com/1index.html
In Opera 7.23 I am unable to control the font sizes in sideBar and topBar
divs.[...]
The page is http://masonc.home.netcom.com/1index.html




检查Opera副本中指定的最小字体大小。您指定的

字体大小调用了我的最小字体大小。


您使用的是相对字体大小,但整个页面看起来要小得多
当我删除最小字体大小时
。从正常文本的100%开始,

只有较小的法律术语和类似的精细打印,普通读者可以安全地忽略。

-

Darin McGrew, mc****@stanfordalumni.org http://www.rahul.net/mcgrew/

网页设计分组, da***@htmlhelp.com http://www.HTMLHelp.com/

当你不在右边时,跑步的用途是什么road?"



Check the minimum font size specified in your copy of Opera. Your specified
font sizes invoked my minimum font size.

You''re using relative font sizes, but the whole page seems much smaller
when I drop the minimum font size. Start with 100% for normal text, and
only go smaller for legalese and similar fine print that the average reader
can safely ignore.
--
Darin McGrew, mc****@stanfordalumni.org, http://www.rahul.net/mcgrew/
Web Design Group, da***@htmlhelp.com, http://www.HTMLHelp.com/

"What is the use of running when you are not on the right road?"


2004年4月12日星期一05:59:50 GMT,MasonC< ma **** @ ix.netcom.xyz.com>

写道:
On Mon, 12 Apr 2004 05:59:50 GMT, MasonC <ma****@ix.netcom.xyz.com>
wrote:
在Opera 7.23中,我无法控制sideBar和topBar div中的字体大小。
MSIE 6或Mozilla中没问题<相关的css是:(我尝试了很多变化)

A:VISITED {背景:#fcfcf0;颜色:#6666cc; FONT:80%Arial,helvetica,sans-serif;}
A:HOVER {背景:#666633;颜色:#ffffff; FONT:80%Arial,helvetica,sans-serif;}
A:主动{背景:#000099;颜色:#ff0000; FONT:80%Arial,helvetica,sans-serif;}

#sideBar A {FONT:70%; }#/> #topBar答:{FONT-SIZE:50%; }
In Opera 7.23 I am unable to control the font sizes in sideBar and topBar divs.
No problem in MSIE 6 or Mozilla
The pertinent css is: (I''ve tried many variations)

A { FONT: 90% Arial, helvetica, sans-serif; }
A:LINK { BACKGROUND: #ffffff; COLOR: #0000cc; FONT: 80% Arial,helvetica,sans-serif;}
A:VISITED { BACKGROUND: #fcfcf0; COLOR: #6666cc; FONT: 80% Arial,helvetica,sans-serif;}
A:HOVER { BACKGROUND: #666633; COLOR: #ffffff; FONT: 80% Arial,helvetica,sans-serif;}
A:ACTIVE { BACKGROUND: #000099; COLOR: #ff0000; FONT: 80% Arial,helvetica,sans-serif;}

#sideBar A { FONT: 70% ; }
#topBar A: { FONT-SIZE: 50% ; }




CSS规范(5.11.3)允许用户代理忽略

伪类的大小更改。 (无论如何,它们都不是一个好主意。)最好只在你的DIV或A规则中放大小

,而不是A:LINK等。


-

Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/


这篇关于Opera 7.23中的字体大小失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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