473,386 Members | 1,748 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Question Regarding Text Sizing

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

Jul 23 '05 #1
1 1491
Douglas Pollock wrote:
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 <gw*****@agricoreunited.com>

* Client-side Javascript and Netscape 4 DOM Reference available at:
*
http://devedge.netscape.com/library/...ce/frames.html

* Internet Explorer DOM Reference available at:
*
http://msdn.microsoft.com/workshop/a...ence_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-deve...upgrade_2.html
Jul 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

38
by: Shaun McKinnon | last post by:
HI...Here's my problem...I have a popup window that loads when i want it to, but it's not sized properly. I've set the size, but it doesn't seem to work. I've been on 8 different websites to find...
2
by: Dennis | last post by:
This may be easy for most but I can't get this thing to work. I believe I followed all the instructions but when I click on the link no window opens just the default IE page cannot display. Here is...
2
by: bugbear | last post by:
Is there a current "best practice" for text sizing? My goal is a have a web page (web application actually) which looks the same (more or less) on Mac IE5, PC IE6, Mozilla, Konqueror and Safari....
18
by: fleemo17 | last post by:
My organization is developing a set of "standards" for websites built inhouse. The first question that comes to mind is what would be a good standard default size for <p> text? 12 point? Which...
0
by: Martin K | last post by:
Hello all..thanks for everyone's advice regarding my SHBrowseForFolder API problem, I was able to put together a public class that runs great! But I have another migration headache regarding the...
7
by: Joe | last post by:
I have a label control that will be filled with text at runtime. The length of the text will vary, but the label must stay the same size. Is there a way to set the font size of the text such that...
7
by: Yeah | last post by:
Ever since I upgraded my Windows display to 120 DPI (kind of a necessary change), fonts have been clearer and graphics have been crisper. However, the 25% automatic increase in the text size on my...
26
by: Mike Barnard | last post by:
Hi all. I am playing with html and css. I don't (yet) have a working site, I'm just trying to build a working, basic template I can use for a couple of ideas I have. I recall reading a...
1
by: littlealex | last post by:
IE6 not displaying text correctly - IE 7 & Firefox 3 are fine! Need some help with this as fairly new to CSS! In IE6 the text for the following page doesn't display properly - rather than being...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.