By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,787 Members | 1,124 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,787 IT Pros & Developers. It's quick & easy.

Font Size fails in Opera 7.23

P: n/a
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
Jul 20 '05 #1
Share this Question
Share on Google+
16 Replies


P: n/a
MasonC <ma****@ix.netcom.XYZcom> wrote:
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


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?"
Jul 20 '05 #2

P: n/a
MasonC <ma****@ix.netcom.XYZcom> wrote:
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


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?"
Jul 20 '05 #3

P: n/a
On Mon, 12 Apr 2004 05:59:50 GMT, MasonC <ma****@ix.netcom.xyz.com>
wrote:
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 CSS spec (5.11.3) permits user agents to ignore size changes in
pseudo-classes. (They aren't a good idea anyway.) Better to put the size
only in your DIV or A rules, and not A:LINK etc.

--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/
Jul 20 '05 #4

P: n/a
On Mon, 12 Apr 2004 05:59:50 GMT, MasonC <ma****@ix.netcom.xyz.com>
wrote:
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 CSS spec (5.11.3) permits user agents to ignore size changes in
pseudo-classes. (They aren't a good idea anyway.) Better to put the size
only in your DIV or A rules, and not A:LINK etc.

--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/
Jul 20 '05 #5

P: n/a
On Mon, 12 Apr 2004, Stephen Poley wrote:
On Mon, 12 Apr 2004 05:59:50 GMT, MasonC <ma****@ix.netcom.xyz.com>
wrote:

The CSS spec (5.11.3) permits user agents to ignore size changes in
pseudo-classes.
Well, indeed: re-flowing links in response to size changes can (in the
most extreme cases) make them literally unusable, since hovering over
them causes them to leap out of reach.
(They aren't a good idea anyway.) Better to put the size
only in your DIV or A rules, and not A:LINK etc.


Links to be 80% of my chosen normal font size? Would not be my
choice.

But I can't help worrying that this is a mere detail, amongst a whole
minefield of self-imposed problems created by the author.

http://jigsaw.w3.org/css-validator/v...usermedium=all

I don't think I'd want to put my page at the whim of each and every
browser's CSS error fixup routines. On the whole, this page seems to
me to work better on Lynx (with some reservations [1]) than it does on
the CSS-enabled browsers that I tried (e.g it's close to provoking the
cry of "aaaaargh microfonts" on my office machine, unless I rescue it
with the browser's min font size setting).

[1] OK, the next point is not a stylesheet issue; but it's not nice to
present all users with what appear to be navigation selections that
don't in fact work without Javascript (if one's determined to use
some - optional - javascript navigation, then one could inject the
optional navigation into the document with Javascript, so that it
isn't seen by security-conscious users).
Jul 20 '05 #6

P: n/a
On Mon, 12 Apr 2004, Stephen Poley wrote:
On Mon, 12 Apr 2004 05:59:50 GMT, MasonC <ma****@ix.netcom.xyz.com>
wrote:

The CSS spec (5.11.3) permits user agents to ignore size changes in
pseudo-classes.
Well, indeed: re-flowing links in response to size changes can (in the
most extreme cases) make them literally unusable, since hovering over
them causes them to leap out of reach.
(They aren't a good idea anyway.) Better to put the size
only in your DIV or A rules, and not A:LINK etc.


Links to be 80% of my chosen normal font size? Would not be my
choice.

But I can't help worrying that this is a mere detail, amongst a whole
minefield of self-imposed problems created by the author.

http://jigsaw.w3.org/css-validator/v...usermedium=all

I don't think I'd want to put my page at the whim of each and every
browser's CSS error fixup routines. On the whole, this page seems to
me to work better on Lynx (with some reservations [1]) than it does on
the CSS-enabled browsers that I tried (e.g it's close to provoking the
cry of "aaaaargh microfonts" on my office machine, unless I rescue it
with the browser's min font size setting).

[1] OK, the next point is not a stylesheet issue; but it's not nice to
present all users with what appear to be navigation selections that
don't in fact work without Javascript (if one's determined to use
some - optional - javascript navigation, then one could inject the
optional navigation into the document with Javascript, so that it
isn't seen by security-conscious users).
Jul 20 '05 #7

P: n/a
On Mon, 12 Apr 2004 07:35:50 +0000 (UTC), Darin McGrew <mc****@stanfordalumni.org> wrote:
MasonC <ma****@ix.netcom.XYZcom> wrote:
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
Check the minimum font size specified in your copy of Opera. Your specified
font sizes invoked my minimum font size.


ARGHHHHHHHHHHH ! I knew that I knew that I knew that
I forgot that I forgot that I forgot that damn
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.


My intention. Thanks for reminding me of Opera's minimimum font

Mason C

Jul 20 '05 #8

P: n/a
On Mon, 12 Apr 2004 07:35:50 +0000 (UTC), Darin McGrew <mc****@stanfordalumni.org> wrote:
MasonC <ma****@ix.netcom.XYZcom> wrote:
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
Check the minimum font size specified in your copy of Opera. Your specified
font sizes invoked my minimum font size.


ARGHHHHHHHHHHH ! I knew that I knew that I knew that
I forgot that I forgot that I forgot that damn
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.


My intention. Thanks for reminding me of Opera's minimimum font

Mason C

Jul 20 '05 #9

P: n/a
On Mon, 12 Apr 2004 12:48:29 +0100, "Alan J. Flavell" <fl*****@ph.gla.ac.uk> wrote:
On Mon, 12 Apr 2004, Stephen Poley wrote:
On Mon, 12 Apr 2004 05:59:50 GMT, MasonC <ma****@ix.netcom.xyz.com>
wrote:

The CSS spec (5.11.3) permits user agents to ignore size changes in
pseudo-classes.
Well, indeed: re-flowing links in response to size changes can (in the
most extreme cases) make them literally unusable, since hovering over
them causes them to leap out of reach.
(They aren't a good idea anyway.) Better to put the size
only in your DIV or A rules, and not A:LINK etc.


Links to be 80% of my chosen normal font size? Would not be my
choice.


Arial is larger than Times, hence the size reduction. Not a great
idea. I think I'll stick with one font for text and links.
But I can't help worrying that this is a mere detail, amongst a whole
minefield of self-imposed problems created by the author.
Self-imposed because I really want the fixed sideBar and topBar and
MSIE (world's browser) won't do them without this javascript trick..
http://jigsaw.w3.org/css-validator/v...usermedium=all

I don't think I'd want to put my page at the whim of each and every
browser's CSS error fixup routines. On the whole, this page seems to
me to work better on Lynx (with some reservations [1]) than it does on
the CSS-enabled browsers that I tried (e.g it's close to provoking the
cry of "aaaaargh microfonts" on my office machine, unless I rescue it
with the browser's min font size setting). [1] OK, the next point is not a stylesheet issue; but it's not nice to
present all users with what appear to be navigation selections that
don't in fact work without Javascript (if one's determined to use
some - optional - javascript navigation, then one could inject the
optional navigation into the document with Javascript, so that it
isn't seen by security-conscious users).


The menus of links are a convenience, not a necessity. They duplicate
the links in the Table of Contents. For those viewers without
javascript they are passive reminders of the contents.

I'm workin' on it workin' workin'

Thanks for the help -- really!

Mason C
Jul 20 '05 #10

P: n/a
On Mon, 12 Apr 2004 12:48:29 +0100, "Alan J. Flavell" <fl*****@ph.gla.ac.uk> wrote:
On Mon, 12 Apr 2004, Stephen Poley wrote:
On Mon, 12 Apr 2004 05:59:50 GMT, MasonC <ma****@ix.netcom.xyz.com>
wrote:

The CSS spec (5.11.3) permits user agents to ignore size changes in
pseudo-classes.
Well, indeed: re-flowing links in response to size changes can (in the
most extreme cases) make them literally unusable, since hovering over
them causes them to leap out of reach.
(They aren't a good idea anyway.) Better to put the size
only in your DIV or A rules, and not A:LINK etc.


Links to be 80% of my chosen normal font size? Would not be my
choice.


Arial is larger than Times, hence the size reduction. Not a great
idea. I think I'll stick with one font for text and links.
But I can't help worrying that this is a mere detail, amongst a whole
minefield of self-imposed problems created by the author.
Self-imposed because I really want the fixed sideBar and topBar and
MSIE (world's browser) won't do them without this javascript trick..
http://jigsaw.w3.org/css-validator/v...usermedium=all

I don't think I'd want to put my page at the whim of each and every
browser's CSS error fixup routines. On the whole, this page seems to
me to work better on Lynx (with some reservations [1]) than it does on
the CSS-enabled browsers that I tried (e.g it's close to provoking the
cry of "aaaaargh microfonts" on my office machine, unless I rescue it
with the browser's min font size setting). [1] OK, the next point is not a stylesheet issue; but it's not nice to
present all users with what appear to be navigation selections that
don't in fact work without Javascript (if one's determined to use
some - optional - javascript navigation, then one could inject the
optional navigation into the document with Javascript, so that it
isn't seen by security-conscious users).


The menus of links are a convenience, not a necessity. They duplicate
the links in the Table of Contents. For those viewers without
javascript they are passive reminders of the contents.

I'm workin' on it workin' workin'

Thanks for the help -- really!

Mason C
Jul 20 '05 #11

P: n/a
On Tue, 13 Apr 2004, MasonC wrote:
Arial is larger than Times, hence the size reduction.


Arial also looks *smaller* than Verdana, which is -so- popular that
some readers will surely have chosen it as their default. This one
can't be won, not with the available features of current CSS.
But I can't help worrying that this is a mere detail, amongst a whole
minefield of self-imposed problems created by the author.

Self-imposed because I really want the fixed sideBar and topBar and
MSIE (world's browser) won't do them without this javascript trick..


Does that explain a shedload of invalid CSS?
http://jigsaw.w3.org/css-validator/v...usermedium=all I don't think I'd want to put my page at the whim of each and every
browser's CSS error fixup routines.


I still don't think I'd want to do that.

Good luck.
Jul 20 '05 #12

P: n/a
On Tue, 13 Apr 2004, MasonC wrote:
Arial is larger than Times, hence the size reduction.


Arial also looks *smaller* than Verdana, which is -so- popular that
some readers will surely have chosen it as their default. This one
can't be won, not with the available features of current CSS.
But I can't help worrying that this is a mere detail, amongst a whole
minefield of self-imposed problems created by the author.

Self-imposed because I really want the fixed sideBar and topBar and
MSIE (world's browser) won't do them without this javascript trick..


Does that explain a shedload of invalid CSS?
http://jigsaw.w3.org/css-validator/v...usermedium=all I don't think I'd want to put my page at the whim of each and every
browser's CSS error fixup routines.


I still don't think I'd want to do that.

Good luck.
Jul 20 '05 #13

P: n/a
On Tue, 13 Apr 2004 08:35:37 +0100, "Alan J. Flavell" <fl*****@ph.gla.ac.uk> wrote:
On Tue, 13 Apr 2004, MasonC wrote:
Arial is larger than Times, hence the size reduction.
Arial also looks *smaller* than Verdana, which is -so- popular that
some readers will surely have chosen it as their default. This one
can't be won, not with the available features of current CSS.
>But I can't help worrying that this is a mere detail, amongst a whole
>minefield of self-imposed problems created by the author.
>

Self-imposed because I really want the fixed sideBar and topBar and
MSIE (world's browser) won't do them without this javascript trick..


Does that explain a shedload of invalid CSS?


In fact, yes. Only two minor errors -- 97 less than a "shedload."

Scrollbar colors and the javascript expression work well but are not
recognized by jigsaw. This accounts for the other "errors."

Thanks for the comments -- all are valuable. I'm learning.

Mason C
>http://jigsaw.w3.org/css-validator/v...usermedium=all >I don't think I'd want to put my page at the whim of each and every
>browser's CSS error fixup routines.
I still don't think I'd want to do that.

Good luck.


Jul 20 '05 #14

P: n/a
On Tue, 13 Apr 2004 08:35:37 +0100, "Alan J. Flavell" <fl*****@ph.gla.ac.uk> wrote:
On Tue, 13 Apr 2004, MasonC wrote:
Arial is larger than Times, hence the size reduction.
Arial also looks *smaller* than Verdana, which is -so- popular that
some readers will surely have chosen it as their default. This one
can't be won, not with the available features of current CSS.
>But I can't help worrying that this is a mere detail, amongst a whole
>minefield of self-imposed problems created by the author.
>

Self-imposed because I really want the fixed sideBar and topBar and
MSIE (world's browser) won't do them without this javascript trick..


Does that explain a shedload of invalid CSS?


In fact, yes. Only two minor errors -- 97 less than a "shedload."

Scrollbar colors and the javascript expression work well but are not
recognized by jigsaw. This accounts for the other "errors."

Thanks for the comments -- all are valuable. I'm learning.

Mason C
>http://jigsaw.w3.org/css-validator/v...usermedium=all >I don't think I'd want to put my page at the whim of each and every
>browser's CSS error fixup routines.
I still don't think I'd want to do that.

Good luck.


Jul 20 '05 #15

P: n/a
On Tue, 13 Apr 2004, MasonC wrote:
Does that explain a shedload of invalid CSS?
In fact, yes. Only two minor errors


As far as client agents are concerned, your deliberate errors are
liable to be treated just as much as errors as your inadvertent ones
are.
Scrollbar colors and the javascript expression work well
....for some values of "work"...
but are not recognized by jigsaw.
That's not the point. Jigsaw is only informing you and us that
they are not part of official CSS.
This accounts for the other "errors."


Sure, I wasn't unaware of that; my point was, does it justify the risk
- not only to browser/versions that you know, but to those that will
be released during the life of your pages? That's primarily a
technical question - put aside from any personal animosity about web
pages trying to take-over one's scrollbars and any other aspects of
the browser, rather than staying within the confines of the user's
canvas.

have fun
Jul 20 '05 #16

P: n/a
On Tue, 13 Apr 2004, MasonC wrote:
Does that explain a shedload of invalid CSS?
In fact, yes. Only two minor errors


As far as client agents are concerned, your deliberate errors are
liable to be treated just as much as errors as your inadvertent ones
are.
Scrollbar colors and the javascript expression work well
....for some values of "work"...
but are not recognized by jigsaw.
That's not the point. Jigsaw is only informing you and us that
they are not part of official CSS.
This accounts for the other "errors."


Sure, I wasn't unaware of that; my point was, does it justify the risk
- not only to browser/versions that you know, but to those that will
be released during the life of your pages? That's primarily a
technical question - put aside from any personal animosity about web
pages trying to take-over one's scrollbars and any other aspects of
the browser, rather than staying within the confines of the user's
canvas.

have fun
Jul 20 '05 #17

This discussion thread is closed

Replies have been disabled for this discussion.