Recommended Answers
Jump to PostI tried that today in an h1 tag's style. Firefox would not accept % for a font size (I wanted a double sized font, so I put 200%). It also refused to set a font size in em. The only values that worked were px, pt, and the relative size …
Jump to PostI was using Firefiox 3.
That page works. So now I have to find out why mine does not.
One difference was that I was using a class, instead of modifying a generic tag type.
.double {font-size: 200%;} ..... <h1 class="double">big type</h1>
Question: Are the …
Jump to PostI was using Firefiox 3.
That page works. So now I have to find out why mine does not.
One difference was that I was using a class, instead of modifying a generic tag type.
.double {font-size: 200%;} ..... <h1 class="double">big type</h1>
Shouldn't really matter. BTW, I'm using …
Jump to PostI figured it out.
The relative size of the h1 font-size style is referenced to the base font size, not the large font size used for h1 by default. So I was actually asking for the font size h1 normally uses when I asked for a double size with …
Jump to PostI figured it out.
Putting in 400% gave me what I wanted.Yes of course. Sorry about not remembering or being clear about that.
All 30 Replies
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.