473,385 Members | 2,180 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,385 software developers and data experts.

User Scalable Text Using CSS?

Hi all,

I am keen to allow people who view my site to be able to resize the text in
their browsers (especially for people who need to read larger text). With
my old web-page I specified the point size in the HTML code, and noticed
that when using Internet Explorer the text could not be resized. In
designing my new site I have chosen to express the text sizes as percentages
in a stylesheet, e.g.

..side_panel_title {
font : bold 50% 'Trebuchet MS',
'Lucida Grande', Arial, sans-serif;
color : #990000;
}
..side_panel_text {
font : 50% 'Trebuchet MS', 'Lucida
Grande', Arial, sans-serif;
color : #373737;
}

I did this thinking that the viewers of my web-pages would be able to select
larger font sizes for viewing by adjusting their browser text settings.
However, when the page is rendered in Internet Explorer, the text only
appears in a readable size (the size I actually designed the page) when the
"View | Text Size | Largest" setting is selected. I had thought that users
would be able to increase the size text to a larger size than the sizes I
used to design the page in order to make the text easier to read - that is
what I want to achieve, that is the same effect as on the w3org site
http://www.w3.org/. What am I doing wrong? Or is what I am trying to
achieve not possible (this way)?

Regards,
C.B.
Mar 25 '06 #1
10 2846
Cerebral Believer wrote:
Hi all,

I am keen to allow people who view my site to be able to resize the text in
their browsers (especially for people who need to read larger text). With
my old web-page I specified the point size in the HTML code, and noticed
that when using Internet Explorer the text could not be resized. In
designing my new site I have chosen to express the text sizes as percentages
in a stylesheet, e.g.

.side_panel_title {
font : bold 50% 'Trebuchet MS',
'Lucida Grande', Arial, sans-serif;
color : #990000;
}
.side_panel_text {
font : 50% 'Trebuchet MS', 'Lucida
Grande', Arial, sans-serif;
color : #373737;
}

I did this thinking that the viewers of my web-pages would be able to select
larger font sizes for viewing by adjusting their browser text settings.
However, when the page is rendered in Internet Explorer, the text only
appears in a readable size (the size I actually designed the page) when the
"View | Text Size | Largest" setting is selected. I had thought that users
would be able to increase the size text to a larger size than the sizes I
used to design the page in order to make the text easier to read - that is
what I want to achieve, that is the same effect as on the w3org site
http://www.w3.org/. What am I doing wrong?
font: bold 50% 'Trebuchet MS','Lucida Grande', Arial, sans-serif;
^^^^
THAT! 50% in incredibly small!

BODY { font-size: 100%; }
..anything_else not smaller than 75%, 80% is usually the preferred
smallest for stuff like boilerplate.

Or is what I am trying to achieve not possible (this way)?

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Mar 25 '06 #2

"Jonathan N. Little" <lw*****@centralva.net> wrote in message
news:44**********************@news.centralva.net.. .
Cerebral Believer wrote:
Hi all,

I am keen to allow people who view my site to be able to resize the text
in their browsers (especially for people who need to read larger text).
With my old web-page I specified the point size in the HTML code, and
noticed that when using Internet Explorer the text could not be resized.
In designing my new site I have chosen to express the text sizes as
percentages in a stylesheet, e.g.

.side_panel_title {
font : bold 50% 'Trebuchet MS',
'Lucida Grande', Arial, sans-serif;
color : #990000;
}
.side_panel_text {
font : 50% 'Trebuchet MS', 'Lucida
Grande', Arial, sans-serif;
color : #373737;
}

I did this thinking that the viewers of my web-pages would be able to
select larger font sizes for viewing by adjusting their browser text
settings. However, when the page is rendered in Internet Explorer, the
text only appears in a readable size (the size I actually designed the
page) when the "View | Text Size | Largest" setting is selected. I had
thought that users would be able to increase the size text to a larger
size than the sizes I used to design the page in order to make the text
easier to read - that is what I want to achieve, that is the same effect
as on the w3org site http://www.w3.org/. What am I doing wrong?


font: bold 50% 'Trebuchet MS','Lucida Grande', Arial, sans-serif;
^^^^
THAT! 50% in incredibly small!

BODY { font-size: 100%; }
.anything_else not smaller than 75%, 80% is usually the preferred smallest
for stuff like boilerplate.


Yes, thanks for that you are right, that text size is small. I had used
that size because, given the way I had formed my CSS & HTML, it rendered the
way I prefer to see it in my browser, but since I modified my CSS the way
you suggested I can see why I should use a larger size. The only issue I
have now is that the text does appear to be bold when in larger sizes, and I
would have liked to keep the text in the same weight as I would usually see
it on my screen, I will experiemnt with the font-weight.

Thanks very much for your help.
C.B.
Mar 25 '06 #3
Cerebral Believer wrote:
Cerebral Believer wrote:
.side_panel_title {
font: bold 50% 'Trebuchet MS', ... <snip>


The only issue I have now is that the text does appear to be bold when
in larger sizes, and I would have liked to keep the text in the same
weight as I would usually see it on my screen, I will experiemnt with
the font-weight.


Remove 'bold' from your css and it won't be .. er .. 'bold' anymore.

--
-bts
-Warning: I brake for lawn deer
Mar 25 '06 #4
Cerebral Believer wrote:

"Jonathan N. Little" <lw*****@centralva.net> wrote in message
news:44**********************@news.centralva.net.. .
Cerebral Believer wrote:
Hi all,

I am keen to allow people who view my site to be able to resize the text
in their browsers (especially for people who need to read larger text).
With my old web-page I specified the point size in the HTML code, and
noticed that when using Internet Explorer the text could not be resized.
In designing my new site I have chosen to express the text sizes as
percentages in a stylesheet, e.g.

.side_panel_title {
font : bold 50% 'Trebuchet MS',
'Lucida Grande', Arial, sans-serif;
color : #990000;
}
.side_panel_text {
font : 50% 'Trebuchet MS',
'Lucida
Grande', Arial, sans-serif;
color : #373737;
}

I did this thinking that the viewers of my web-pages would be able to
select larger font sizes for viewing by adjusting their browser text
settings. However, when the page is rendered in Internet Explorer, the
text only appears in a readable size (the size I actually designed the
page) when the "View | Text Size | Largest" setting is selected. I had
thought that users would be able to increase the size text to a larger
size than the sizes I used to design the page in order to make the text
easier to read - that is what I want to achieve, that is the same effect
as on the w3org site http://www.w3.org/. What am I doing wrong?


font: bold 50% 'Trebuchet MS','Lucida Grande', Arial, sans-serif;
^^^^
THAT! 50% in incredibly small!

BODY { font-size: 100%; }
.anything_else not smaller than 75%, 80% is usually the preferred
smallest for stuff like boilerplate.


Yes, thanks for that you are right, that text size is small. I had used
that size because, given the way I had formed my CSS & HTML, it rendered
the way I prefer to see it in my browser, but since I modified my CSS the
way
you suggested I can see why I should use a larger size. The only issue I
have now is that the text does appear to be bold when in larger sizes, and
I would have liked to keep the text in the same weight as I would usually
see it on my screen, I will experiemnt with the font-weight.

Thanks very much for your help.
C.B.


Why not leave the font setting at 100% and adjust your browser so it looks
good to you on your system. Then it will also look good to everyone else
when they see it on theirs at their ideal font size. This is assuming of
course that they have their default font size set to their ideal.

Carolyn

--
Carolyn Marenger

Mar 25 '06 #5
Cerebral Believer wrote:
"Jonathan N. Little" <lw*****@centralva.net> wrote in message
news:44**********************@news.centralva.net.. .
Cerebral Believer wrote:
Hi all,

I am keen to allow people who view my site to be able to resize the text
in their browsers (especially for people who need to read larger text).
With my old web-page I specified the point size in the HTML code, and
noticed that when using Internet Explorer the text could not be resized.
In designing my new site I have chosen to express the text sizes as
percentages in a stylesheet, e.g.

.side_panel_title {
font : bold 50% 'Trebuchet MS',
'Lucida Grande', Arial, sans-serif;
color : #990000;
}
.side_panel_text {
font : 50% 'Trebuchet MS', 'Lucida
Grande', Arial, sans-serif;
color : #373737;
}

I did this thinking that the viewers of my web-pages would be able to
select larger font sizes for viewing by adjusting their browser text
settings. However, when the page is rendered in Internet Explorer, the
text only appears in a readable size (the size I actually designed the
page) when the "View | Text Size | Largest" setting is selected. I had
thought that users would be able to increase the size text to a larger
size than the sizes I used to design the page in order to make the text
easier to read - that is what I want to achieve, that is the same effect
as on the w3org site http://www.w3.org/. What am I doing wrong?

font: bold 50% 'Trebuchet MS','Lucida Grande', Arial, sans-serif;
^^^^
THAT! 50% in incredibly small!

BODY { font-size: 100%; }
.anything_else not smaller than 75%, 80% is usually the preferred smallest
for stuff like boilerplate.


Yes, thanks for that you are right, that text size is small. I had used
that size because, given the way I had formed my CSS & HTML, it rendered the
way I prefer to see it in my browser, but since I modified my CSS the way
you suggested I can see why I should use a larger size. The only issue I
have now is that the text does appear to be bold when in larger sizes, and I
would have liked to keep the text in the same weight as I would usually see
it on my screen, I will experiemnt with the font-weight.


Actually Toby had a very good argument and demo on default font size:

http://tobyinkster.co.uk/web-fonts
Fonts — Toby Inkster
--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Mar 25 '06 #6

"Beauregard T. Shagnasty" <a.*********@example.invalid> wrote in message
news:rL*******************@bgtnsc04-news.ops.worldnet.att.net...
Cerebral Believer wrote:
Cerebral Believer wrote:
.side_panel_title {
font: bold 50% 'Trebuchet MS', ... <snip>


The only issue I have now is that the text does appear to be bold when
in larger sizes, and I would have liked to keep the text in the same
weight as I would usually see it on my screen, I will experiemnt with
the font-weight.


Remove 'bold' from your css and it won't be .. er .. 'bold' anymore.


Yes, of course that makes sense, it was another poster who suggested the use
of "bold", which I thought sounded a little odd. After checking w3c I can
see I can use "normal" instead. Thanks for your response.

Regards,
C.B.
Mar 25 '06 #7
Cerebral Believer wrote:
"Beauregard T. Shagnasty" <a.*********@example.invalid> wrote
Remove 'bold' from your css and it won't be .. er .. 'bold' anymore.


Yes, of course that makes sense, it was another poster who suggested
the use of "bold", which I thought sounded a little odd. After
checking w3c I can see I can use "normal" instead. Thanks for your
response.


"normal" is the default, so you do not have to mention it at all.

--
-bts
-Warning: I brake for lawn deer
Mar 25 '06 #8
Cerebral Believer wrote:
Hi all,

I am keen to allow people who view my site to be able to resize the text in
their browsers (especially for people who need to read larger text). With
my old web-page I specified the point size in the HTML code, and noticed
that when using Internet Explorer the text could not be resized. In
designing my new site I have chosen to express the text sizes as percentages
in a stylesheet, e.g.

.side_panel_title {
font : bold 50% 'Trebuchet MS',
'Lucida Grande', Arial, sans-serif;
color : #990000;
}
.side_panel_text {
font : 50% 'Trebuchet MS', 'Lucida
Grande', Arial, sans-serif;
color : #373737;
}

I did this thinking that the viewers of my web-pages would be able to select
larger font sizes for viewing by adjusting their browser text settings.
However, when the page is rendered in Internet Explorer, the text only
appears in a readable size (the size I actually designed the page) when the
"View | Text Size | Largest" setting is selected. I had thought that users
would be able to increase the size text to a larger size than the sizes I
used to design the page in order to make the text easier to read - that is
what I want to achieve, that is the same effect as on the w3org site
http://www.w3.org/. What am I doing wrong? Or is what I am trying to
achieve not possible (this way)?


I don't understand--how, other than a browser, are you examining your
work while designing it, that it could look different than it does in a
browser?

What is the base text size, that the side panel is supposed to be 50% of?
Mar 25 '06 #9

"Harlan Messinger" <hm*******************@comcast.net> wrote in message
news:48************@individual.net...
Cerebral Believer wrote:
Hi all,

I am keen to allow people who view my site to be able to resize the text
in their browsers (especially for people who need to read larger text).
With my old web-page I specified the point size in the HTML code, and
noticed that when using Internet Explorer the text could not be resized.
In designing my new site I have chosen to express the text sizes as
percentages in a stylesheet, e.g.

.side_panel_title {
font : bold 50% 'Trebuchet MS',
'Lucida Grande', Arial, sans-serif;
color : #990000;
}
.side_panel_text {
font : 50% 'Trebuchet MS', 'Lucida
Grande', Arial, sans-serif;
color : #373737;
}

I did this thinking that the viewers of my web-pages would be able to
select larger font sizes for viewing by adjusting their browser text
settings. However, when the page is rendered in Internet Explorer, the
text only appears in a readable size (the size I actually designed the
page) when the "View | Text Size | Largest" setting is selected. I had
thought that users would be able to increase the size text to a larger
size than the sizes I used to design the page in order to make the text
easier to read - that is what I want to achieve, that is the same effect
as on the w3org site http://www.w3.org/. What am I doing wrong? Or is
what I am trying to achieve not possible (this way)?


I don't understand--how, other than a browser, are you examining your work
while designing it, that it could look different than it does in a
browser?

What is the base text size, that the side panel is supposed to be 50% of?


Harlan,

If you read my response to Carolyn, you will see the basic error I was
making. Very silly of me I admit, but the matter is now resolved. Thanks
for your resonse.

Regards,
C.B.
Mar 25 '06 #10
In article
<rL*******************@bgtnsc04-news.ops.worldnet.att.net>,
"Beauregard T. Shagnasty" <a.*********@example.invalid> wrote:
Cerebral Believer wrote:
Cerebral Believer wrote:
.side_panel_title {
font: bold 50% 'Trebuchet MS', ... <snip>


The only issue I have now is that the text does appear to be bold when
in larger sizes, and I would have liked to keep the text in the same
weight as I would usually see it on my screen, I will experiemnt with
the font-weight.


Remove 'bold' from your css and it won't be .. er .. 'bold' anymore.


You mean, of course, it won't be .. er .. bold anymore

--
dorayme
Mar 26 '06 #11

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

Similar topics

5
by: Robert J. O'Hara | last post by:
For some time I've struggled with the problem of displaying simple captioned figures on webpages in a way that is robust and scalable. I tend to make "boring" (um, I mean "conservatively elegant")...
3
by: Simon Niederberger | last post by:
How can I give a user-defined object session scope? From http://www.microsoft.com/windows2000/en/server/iis/default.asp?url=/windows2000/en/server/iis/htm/asp/iiwaobu.htm I gather that it can...
1
by: .:: - Hades - ::. | last post by:
Hi, 1. I am trying to find out something close to the Overlapped IO / Completion Ports model provided to me by the Winsock 2 library in C#. The two ways provided to me to move towarsds...
4
by: Jonas Hei | last post by:
I need to develop a server application which would listen for UDP messages (on a certain port, say 8464) and process each message (which entails storing that data in the database) and then respond...
1
by: John Grandy | last post by:
Could someone point me in the direction of good discussions on scalable state management solutions? Specifically, pros and cons of following strategies: Strategy 1 : temporary business-objects...
3
by: Brent Borovan | last post by:
Hello, Our team is about to begin development of a web based product using ASP.NET 2.0. We want to ensure that our architecture is scalable (n-tier) and easy to maintain. I've read up on the...
8
by: Chris Mullins | last post by:
One of the things I've spent the last several years working on is a highly scalable socket server written in C#. The SoapBox Server has recently been tested to well over 100k simultanous users....
1
by: GSR | last post by:
Can you suggest me, How to export data from database and user input to cusomized xml format using webservice. xml format may change some times, so should be scalable to export to that format. Please...
1
by: PeteOlcott | last post by:
Does anyone know how to make a scalable image on a DialogBox? I am currently using a static Picture Control, can this be adapted to become scalable to the size of the DialogBox?
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.