CSS font-size keywords and Opera

bob at esrl.lib.md.us bob at esrl.lib.md.us
Thu Dec 20 15:29:52 EST 2001


Hello.

Has anyone had any success using the CSS font-size keywords with Opera?

I'm been using the workaround as described in an article by Todd Fahrner,
published at the A List Apart web site -
http://alistapart.com/stories/sizematters/ - and it works well for dealing
with the IE bug, but Opera seems to ignore it altogether.

Here's what I have:

#menu	{
	font-size: x-small; //this sets the size for IE5.x
	voice-family: "\"}\"";
	voice-family: inherit;
	font-size: small //this is the correct size for others
	}
html>body #menu //then this is supposed to work with Opera.
	{
	font-size: small
	}

But Opera remains at its default font size. If I change the final setting
to x-small, Opera displays as small??? But then other browsers like
K-Meleon display in the too small x-small size.

It's almost as if Opera suffers from the same confusion about keywords as
IE5.x, but since it understands CSS2 rules the workaround has no affect.

 --
Bob Long, Eastern Shore Regional Library
Automation Technical Assistant
410 479 0776 (v)
410 548 5807 (f)



More information about the Web4lib mailing list