Question Regarding Text Sizing

D

Douglas Pollock

I've been trying to use HTML text that will scale up or down using the
Internet Explorer 6.0 menu View\Text Size. I'm using CSS to set the sizes
and weight.

When I use View\Text Size Medium and CSS the results are

Product line - font-size: medium - result bolded
Pricing line - font-size: small - normal

When I use View\Text Size with any size not medium and CSS the results are

Product line - font-size: medium - normal
Pricing line - font-size: small - normal

If I use font-weight bold for the Product Line I end up with double bolding
when View\Text is set to Medium.

This inconsistant behavior of bolding makes it hard to have consistant
looking fonts where the Product Line should be bolded.

If I use a set point size the text will not scale.

Is there a way of setting up fonts so that the results across the View\Text
Size options is consistant?


Thanks in advance
Doug
 
G

Grant Wagner

Douglas said:
I've been trying to use HTML text that will scale up or down using the
Internet Explorer 6.0 menu View\Text Size. I'm using CSS to set the sizes
and weight.

When I use View\Text Size Medium and CSS the results are

Product line - font-size: medium - result bolded
Pricing line - font-size: small - normal

When I use View\Text Size with any size not medium and CSS the results are

Product line - font-size: medium - normal
Pricing line - font-size: small - normal

If I use font-weight bold for the Product Line I end up with double bolding
when View\Text is set to Medium.

This inconsistant behavior of bolding makes it hard to have consistant
looking fonts where the Product Line should be bolded.

If I use a set point size the text will not scale.

Is there a way of setting up fonts so that the results across the View\Text
Size options is consistant?

Thanks in advance
Doug

<style type="text/css">
span.product {
font-size: medium;
font-weight: bold;
}
span.pricing {
font-size: small;
}
</style>
<span class="product">Product</span>
<span class="pricing">Pricing</span>

Results in "Product" being "bold" from View -> Text Size -> Largest to View ->
Text Size -> Smallest in IE6SP1 here. Maybe your font-family doesn't make that
obvious when fonts get below a specific size (such as Verdana).

Anyway, what does this have to do with Javascript?

--
| Grant Wagner <[email protected]>

* Client-side Javascript and Netscape 4 DOM Reference available at:
*
http://devedge.netscape.com/library/manuals/2000/javascript/1.3/reference/frames.html

* Internet Explorer DOM Reference available at:
*
http://msdn.microsoft.com/workshop/author/dhtml/reference/dhtml_reference_entry.asp

* Netscape 6/7 DOM Reference available at:
* http://www.mozilla.org/docs/dom/domref/
* Tips for upgrading JavaScript for Netscape 7 / Mozilla
* http://www.mozilla.org/docs/web-developer/upgrade_2.html
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top