473,327 Members | 1,952 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,327 software developers and data experts.

How to make font size constant in HTML

How to make the font size constant in HTML code, so that in a web
browser it remains fixed.
For e.g in IE if you press CTRL and move mouse wheel front or back the
font size changes,

cheers
Jul 23 '05 #1
48 8825
On Mon, 15 Nov 2004 21:59:42 +0000, Nirvana <pa***********@hotmail.com>
wrote:
How to make the font size constant in HTML code, so that in a web
browser it remains fixed.
For e.g in IE if you press CTRL and move mouse wheel front or back the
font size changes,


Right, it does that so people can read it. If you make the size
unchangeable, a portion of readers cannot make out your text.

You happen to be asking how to do the single most horrible web
accessibility mistake. Please, stop wanting that.

What's the issue that led you to believe you'd need this? There's
certain;y a better solution than making the page unusable.
Jul 23 '05 #2
Neal wrote:
On Mon, 15 Nov 2004 21:59:42 +0000, Nirvana
<pa***********@hotmail.com> wrote:
How to make the font size constant in HTML code, so that in a web
browser it remains fixed.
For e.g in IE if you press CTRL and move mouse wheel front or back
the font size changes,

Right, it does that so people can read it. If you make the size
unchangeable, a portion of readers cannot make out your text.

You happen to be asking how to do the single most horrible web
accessibility mistake. Please, stop wanting that.

What's the issue that led you to believe you'd need this? There's
certain;y a better solution than making the page unusable.


I want the page to have a fix visible and accessable size font, that
will serve my purpose.
cheers
Jul 23 '05 #3
Nirvana wrote:
How to make the font size constant in HTML code, so that in a web
browser it remains fixed. For e.g in IE if you press CTRL and move
mouse wheel front or back the font size changes,


How can I make my radio broadcast volume constant at the transmittor,
so that in the radio is remains fixed. For example, in Denon stereo
receivers, if you turn the volume control clockwise or
counter-clockwise, the volume changes.

--
Brian (remove "invalid" to email me)
Jul 23 '05 #4
Brian wrote:
Nirvana wrote:
How to make the font size constant in HTML code, so that in a web
browser it remains fixed. For e.g in IE if you press CTRL and move
mouse wheel front or back the font size changes,

How can I make my radio broadcast volume constant at the transmittor,
so that in the radio is remains fixed. For example, in Denon stereo
receivers, if you turn the volume control clockwise or
counter-clockwise, the volume changes.

:)
Jul 23 '05 #5
Nirvana wrote:
Neal wrote:
What's the issue that led you to believe you'd need this? There's
certain;y a better solution than making the page unusable.


I want the page to have a fix visible and accessable size font, that
will serve my purpose.


The best solution: use in your CSS file

body {font-size: 100%}

and that's it. This makes the text appear at the browser's default - which
is either customized by the user, or the user has not seen a need to
customize it, in which case it's fine. If it looks a little big, make your
browser's font a notch smaller.

You'll also want to make sure any narrow columns have their width set in
ems, not %, to prevent them from being too narrow. And not px either due
to the opposite problem. When the narrow widths are in ems, they flex with
whatever default size the user has set. The wider content areas can then
take the remainder of the viewpoet width.

This is what I've done at http://www.opro.org/new%20redesign/ (which is
still in development). See how it resizes, feel free to peek at the HTML
and CSS.
Jul 23 '05 #6
Neal wrote:
Nirvana wrote:
Neal wrote:
What's the issue that led you to believe you'd need this? There's
certain;y a better solution than making the page unusable.

I want the page to have a fix visible and accessable size font, that
will serve my purpose.

The best solution: use in your CSS file

body {font-size: 100%}

and that's it. This makes the text appear at the browser's default -
which is either customized by the user, or the user has not seen a
need to customize it, in which case it's fine. If it looks a little
big, make your browser's font a notch smaller.

You'll also want to make sure any narrow columns have their width set
in ems, not %, to prevent them from being too narrow. And not px
either due to the opposite problem. When the narrow widths are in ems,
they flex with whatever default size the user has set. The wider
content areas can then take the remainder of the viewpoet width.

This is what I've done at http://www.opro.org/new%20redesign/ (which
is still in development). See how it resizes, feel free to peek at the
HTML and CSS.


tx.
In you website - If u change view size, the middle column texts getting
hidden behind right column.
Jul 23 '05 #7
Nirvana wrote:
In you website - If u change view size, the middle column texts getting
hidden behind right column.


In Opera, at extreme narrow widths (650px at 100% zoom), this does occur
with the pics, and at about 500px the heading text starts to hide too. I'm
banking that few users will be using such a small viewport with 100% zoom
as a default. Though I may be banking unwisely... so I'll take another
look. Thanks.
Jul 23 '05 #8
On Mon, 15 Nov 2004, Nirvana wrote:
I want the page to have a fix visible and accessable size font, that
will serve my purpose.


Your problem is easily solved: just stop wanting that.

The display is meant to serve your readers' purposes.
Jul 23 '05 #9
Nirvana wrote:

Neal wrote:
On Mon, 15 Nov 2004 21:59:42 +0000, Nirvana
<pa***********@hotmail.com> wrote:
How to make the font size constant in HTML code, so that in a web
browser it remains fixed.
For e.g in IE if you press CTRL and move mouse wheel front or back
the font size changes,

Right, it does that so people can read it. If you make the size
unchangeable, a portion of readers cannot make out your text.

You happen to be asking how to do the single most horrible web
accessibility mistake. Please, stop wanting that.

What's the issue that led you to believe you'd need this? There's
certain;y a better solution than making the page unusable.


I want the page to have a fix visible and accessable size font, that
will serve my purpose.
cheers


You want to make your pages suitable only for yourself? Or do you
want to make them suitable for others? If the latter is the case,
DO NOT force a fixed size for your fonts.
--

David E. Ross
<http://www.rossde.com/>

I use Mozilla as my Web browser because I want a browser that
complies with Web standards. See <http://www.mozilla.org/>.
Jul 23 '05 #10
Neal wrote:

Nirvana wrote:
In you website - If u change view size, the middle column texts getting
hidden behind right column.


In Opera, at extreme narrow widths (650px at 100% zoom), this does occur
with the pics, and at about 500px the heading text starts to hide too. I'm
banking that few users will be using such a small viewport with 100% zoom
as a default. Though I may be banking unwisely... so I'll take another
look. Thanks.


You don't want anyone with a Web-capable cell phone to see your
pages?

--

David E. Ross
<http://www.rossde.com/>

I use Mozilla as my Web browser because I want a browser that
complies with Web standards. See <http://www.mozilla.org/>.
Jul 23 '05 #11
Neal wrote:
In Opera, at extreme narrow widths (650px at 100% zoom), this does occur
with the pics, and at about 500px the heading text starts to hide too. I'm
banking that few users will be using such a small viewport with 100% zoom
as a default. Though I may be banking unwisely... so I'll take another
look. Thanks.

FWIW, my default browser windows are about 600px wide on a 1024x768 or
1280x1024 display.

David Ross <no****@nowhere.not> wrote: You don't want anyone with a Web-capable cell phone to see your
pages?


IMHO, such devices should ignore media="screen" style sheets, and should
use only media="handheld" style sheets. Of course, that doesn't help when
authors use media="all" for style sheets that are appropriate only for
screen media (and possibly print/tv/projection media).
--
Darin McGrew, mc****@stanfordalumni.org, http://www.rahul.net/mcgrew/
Web Design Group, da***@htmlhelp.com, http://www.HTMLHelp.com/

"Do not look where you fell, but where you slipped." - African Proverb
Jul 23 '05 #12
On Tue, 16 Nov 2004 00:35:26 +0000 (UTC), Darin McGrew
<mc****@stanfordalumni.org> wrote:
IMHO, (handheld) devices should ignore media="screen" style sheets, and
should
use only media="handheld" style sheets. Of course, that doesn't help when
authors use media="all" for style sheets that are appropriate only for
screen media (and possibly print/tv/projection media).


Yes, I agree. If the handhed device cannot follow the established specs,
to hell with them.

IE, thay developed a market share notwithstanding, we're forced into
pandering to their sorry ass. But to the new kids in town, play ball or
lose.
Jul 23 '05 #13
Nirvana <pa***********@hotmail.com> wrote in news:cnb8sd$kqk$1
@newsg4.svr.pol.co.uk:
How to make the font size constant in HTML code, so that in a web
browser it remains fixed.
For e.g in IE if you press CTRL and move mouse wheel front or back the
font size changes,


First, you need to protect yourself from the Devil with this incantation,
which you must repeat out loud seven times:

May the users ofth world
With poor eyesight and grainy vision,
So that I may have the illusion of control,
LET THEIR EYES BE FIXED WHEN VIEWING MY SITE!
LET THEIR EYES BE FIXED WHILST READING MY TEXT!
LET THEIR EYES BE FIXED BEFORE THEY LOOK AT MY TINY NAVIGATION MENUS!

May the users ofth world
Adapt for my site
Instead of the other way around.
LET THEM NOT SUFFER SO DUE TO MY INCOMPETENCE!
LET THEM NOT LEAVE IN DISGUST WHEN MY SITE BREAKS THEIR BROWSERS' FEATURES!
LET THEM LOVE AND ADORE MY PREFERRED FONT SIZE,
Rather than their own.

It is imperative that you speak this incantation; only then will you be
prepared for the consequences of what you desire.
Jul 23 '05 #14
Sam Hughes wrote:
Nirvana wrote
How to make the font size constant in HTML code

First, you need to protect yourself from the Devil with this incantation,
which you must repeat out loud seven times:


Sounds spooky. I'd rather not...
Jul 23 '05 #15
Nirvana wrote:
How to make the font size constant in HTML code, so that in a web
browser it remains fixed.
For e.g in IE if you press CTRL and move mouse wheel front or back the
font size changes,


use styles, thus:

p,td {font-size:11px}

if you use px as opposed to pt, percentages or anything else font size
will remain constant. Many people in this ng and elsewhere feel it's
bad practice to do this, but I feel differently, as many users don't
even know they can adjust font-size on the browser and sometimes fonts
come out horribly large, not because user needs it to be like that, but
b/c they don't know how to control it.. anyway, my two cents here, take
it or leave it.. pls see

http://www.francesdelrio.com/resume/

font sizes in body of this page remain constant even if user tries to
change it by doing view -> text size in IE..

again, my issue here: I like Netscape, in which you specify what
font-size browser should use IF author hasn't specified font size, in IE
there's no such thing.. in IE I always have to change font size for
every page I view, as font usu. comes out too large (again, IF author
has not specified font size..)

Frances

Jul 23 '05 #16
On Tue, 16 Nov 2004, Frances Del Rio wrote:
[...] but I feel differently, as many users don't
even know they can adjust font-size on the browser and sometimes fonts
come out horribly large, not because user needs it to be like that, but
b/c they don't know how to control it..


That's nothing! Just think of all those poor people who don't know
how to adjust their seat belts.

--
Top-posting.
What's the most irritating thing on Usenet?

Jul 23 '05 #17
Frances Del Rio wrote:
p,td {font-size:11px}

if you use px as opposed to pt, percentages or anything else font size
will remain constant.>
Only in IE, but *DO NOT* do that!
http://diveintoaccessibility.org/day...ont_sizes.html
http://www.francesdelrio.com/resume/

font sizes in body of this page remain constant even if user tries to
change it by doing view -> text size in IE..
Well, I'm glad I don't use IE. My sight isn't that bad, but it's still
not comfortable for me to read something that small. I often increase
text size, and you should not try to prevent me from doing so.
again, my issue here: I like Netscape, in which you specify what
font-size browser should use IF author hasn't specified font size, in IE
there's no such thing..
Well, that's just another reasons people should switch to a descent
browser, but it's no reason to abuse the system and make your site
inaccessible to IE users with poor eyesight.
in IE I always have to change font size for every page I view, as font
usu. comes out too large (again, IF author has not specified font size..)


Isn't that being rather hypocritical? First you recommend the author
use pixel units that prevent IE users resizing the text size, but then
admit that you often change the text size yourself to suit your needs!

--
Lachlan Hunt
http://lachy.id.au/
http://GetFirefox.com/ Rediscover the Web
http://SpreadFirefox.com/ Igniting the Web
Jul 23 '05 #18

"Frances Del Rio" <fd***@yahoo.com> wrote in message
news:2v*************@uni-berlin.de...
Nirvana wrote:
How to make the font size constant in HTML code, so that in a web
browser it remains fixed.
For e.g in IE if you press CTRL and move mouse wheel front or back the
font size changes,


use styles, thus:

p,td {font-size:11px}

if you use px as opposed to pt, percentages or anything else font size
will remain constant. Many people in this ng and elsewhere feel it's
bad practice to do this, but I feel differently, as many users don't
even know they can adjust font-size on the browser and sometimes fonts
come out horribly large, not because user needs it to be like that, but
b/c they don't know how to control it.. anyway, my two cents here, take
it or leave it.. pls see


Because some people don't know they can change the size, you disable the
option for people who know how to and *need* to. Very logical. As for the
people for whom the text comes out too terribly large--what, are you afraid
that your dazzling text will render them blind?

Jul 23 '05 #19
Lachlan Hunt wrote:
Frances Del Rio wrote:
p,td {font-size:11px}

if you use px as opposed to pt, percentages or anything else font size
will remain constant.>

Only in IE, but *DO NOT* do that!
http://diveintoaccessibility.org/day...ont_sizes.html
http://www.francesdelrio.com/resume/

font sizes in body of this page remain constant even if user tries to
change it by doing view -> text size in IE..

Well, I'm glad I don't use IE. My sight isn't that bad, but it's still
not comfortable for me to read something that small. I often increase
text size, and you should not try to prevent me from doing so.
again, my issue here: I like Netscape, in which you specify what
font-size browser should use IF author hasn't specified font size, in
IE there's no such thing..

Well, that's just another reasons people should switch to a descent
browser, but it's no reason to abuse the system and make your site
inaccessible to IE users with poor eyesight.
in IE I always have to change font size for every page I view, as font
usu. comes out too large (again, IF author has not specified font size..)

Isn't that being rather hypocritical? First you recommend the author
use pixel units that prevent IE users resizing the text size, but then
admit that you often change the text size yourself to suit your needs!


Font comes out too large ONLY IF author hasn't specified size, if author
HAS specified size, I'm willing to live w/what author has specified..

Jul 23 '05 #20
.oO(Frances Del Rio)
Font comes out too large ONLY IF author hasn't specified size,
You're free to adjust it in your browser. If no font-size is specified
the browser will use its default.
if author
HAS specified size, I'm willing to live w/what author has specified..


I'm not. I use a minimum font-size of 13px in my browsers, regardless of
what the author may have declared.

Micha
Jul 23 '05 #21
.oO(Frances Del Rio)
use styles, thus:

p,td {font-size:11px}

if you use px as opposed to pt, percentages or anything else font size
will remain constant.
Nope. All graphical browsers allow the user to adjust font-size as
needed, even IE (a bit more complicated sometimes, but still possible).
Many people in this ng and elsewhere feel it's
bad practice to do this,
It _is_ bad practice.
but I feel differently, as many users don't
even know they can adjust font-size on the browser and sometimes fonts
come out horribly large,


Better too large than too small.

BTW, that's not the point. Usually people asking for fixed font-sizes
only need it to keep their broken layout together, because it collapses
with bigger fonts. The only way to fix that is to change the layout to
be more flexible.

Micha
Jul 23 '05 #22

"Michael Fesser" <ne*****@gmx.net> wrote in message
news:j7********************************@4ax.com...
.oO(Frances Del Rio)
use styles, thus:

p,td {font-size:11px}

if you use px as opposed to pt, percentages or anything else font size
will remain constant.


Nope. All graphical browsers allow the user to adjust font-size as
needed, even IE (a bit more complicated sometimes, but still possible).
Many people in this ng and elsewhere feel it's
bad practice to do this,


It _is_ bad practice.
but I feel differently, as many users don't
even know they can adjust font-size on the browser and sometimes fonts
come out horribly large,


Better too large than too small.

BTW, that's not the point. Usually people asking for fixed font-sizes
only need it to keep their broken layout together, because it collapses
with bigger fonts.


And in that case, it probably means the author wrote the page for only one
browser and doesn't realize that the text flows differently in other
browsers and breaks things even if the font is nominally the same size.

Jul 23 '05 #23
On Tue, 16 Nov 2004 11:10:00 -0500, Frances Del Rio <fd***@yahoo.com>
wrote:
[...]
http://www.francesdelrio.com/resume/
That page comes out as filled with "fliegen dreck" over here, but I
guess you already knew that :-/
font sizes in body of this page remain constant even if user tries to
change it by doing view -> text size in IE..


Yea; stupid, isn't it.

--
Rex
Jul 23 '05 #24


Jan Roland Eriksson wrote:
On Tue, 16 Nov 2004 11:10:00 -0500, Frances Del Rio <fd***@yahoo.com>
wrote:
[...]
http://www.francesdelrio.com/resume/

That page comes out as filled with "fliegen dreck" over here, but I
guess you already knew that :-/

font sizes in body of this page remain constant even if user tries to
change it by doing view -> text size in IE..


Yea; stupid, isn't it.


yo y'all, I said it's my two cents, take it or leave it.. have fun
all.. Frances

Jul 23 '05 #25

"Frances Del Rio" <fd***@yahoo.com> wrote in message
news:2v*************@uni-berlin.de...


Jan Roland Eriksson wrote:
On Tue, 16 Nov 2004 11:10:00 -0500, Frances Del Rio <fd***@yahoo.com>
wrote:
[...]
http://www.francesdelrio.com/resume/

That page comes out as filled with "fliegen dreck" over here, but I
guess you already knew that :-/

font sizes in body of this page remain constant even if user tries to
change it by doing view -> text size in IE..


Yea; stupid, isn't it.


yo y'all, I said it's my two cents, take it or leave it.. have fun
all.. Frances


Yup, stay the course! The damage be damned.

Jul 23 '05 #26
Frances Del Rio wrote:
Font comes out too large ONLY IF author hasn't specified size, if author
HAS specified size, I'm willing to live w/what author has specified..


That makes no sense. If I specify:
body { font-size: 1em; }
or even
body { font-size: 1.2em }

Then, technically, I have specified a font size, but the first is the
default size, and the second is slightly bigger, both or which are
obviously too big to you. So, your statement is incorrect, or you have
incorrectly assumed that when an author specifies a font size, that they
will choose one smaller than the default.

--
Lachlan Hunt
http://lachy.id.au/
http://GetFirefox.com/ Rediscover the Web
http://SpreadFirefox.com/ Igniting the Web
Jul 23 '05 #27
On Wed, 17 Nov 2004 01:36:23 GMT, Lachlan Hunt <sp***********@gmail.com>
wrote:
Frances Del Rio wrote:
Font comes out too large ONLY IF author hasn't specified size, if
author HAS specified size, I'm willing to live w/what author has
specified..
That makes no sense. If I specify:
body { font-size: 1em; }


... then you run into bugs in IE...
Then, technically, I have specified a font size, but the first is the
default size, and the second is slightly bigger, both or which are
obviously too big to you.


The proper declaration in body can only be

font-size: 100;

else the wrath of Gates ruins everything. Though I agree, if this is too
big for you,m it;s your own damn fault.
Jul 23 '05 #28
Previously in comp.infosystems.www.authoring.html, Neal
<ne*****@yahoo.com> said:
The proper declaration in body can only be

font-size: 100;


Hobnobs?

--
Mark Parnell
http://www.clarkecomputers.com.au
Jul 23 '05 #29
On Wed, 17 Nov 2004 16:17:45 +1100, Mark Parnell
<we*******@clarkecomputers.com.au> wrote:
Previously in comp.infosystems.www.authoring.html, Neal
<ne*****@yahoo.com> said:
The proper declaration in body can only be

font-size: 100;


Hobnobs?


Typo. %.

But hobnobs would do.
Jul 23 '05 #30
Neal wrote:
On Wed, 17 Nov 2004 01:36:23 GMT, Lachlan Hunt <sp***********@gmail.com>
wrote:
body { font-size: 1em; }


.. then you run into bugs in IE...


So what? I am not concerned about buggy behaviours in broken browsers,
and I don't support IE [1]. As long as the document is still accessible
and readable, and the markup and CSS conform to the specifications, I
see no problem with that.

[1] http://lachy.id.au/blogs/log/2004/10/dont-support-ie

--
Lachlan Hunt
http://lachy.id.au/
http://GetFirefox.com/ Rediscover the Web
http://SpreadFirefox.com/ Igniting the Web
Jul 23 '05 #31
Lachlan Hunt wrote:
I am not concerned about buggy behaviours in broken browsers, and I
don't support IE


That's fine, so long as one makes that choice in an informed manner, and
not simply through ignorant happenstance.
Jul 23 '05 #32
In article <lf****************************@40tude.net>,
Mark Parnell <we*******@clarkecomputers.com.au> wrote:
font-size: 100;


Hobnobs?


Ohio votes.

--
Kris
<kr*******@xs4all.netherlands> (nl)
Jul 23 '05 #33
Frances Del Rio wrote:
if you use px as opposed to pt, percentages or anything else font
size will remain constant.
Only in MSIE/Win. Actual web browses allow users to resize fonts
regardless of which unit is specified in the css. Need more be said?
Yes? Ok. Consider that CSS is optional per the spec. So even if using px
fixed the font size in web browsers, it would only do so when the user
accepted the author's suggestions.

In short, your contention that the author can control font-size is
merely an illusion.
Many people in this ng and elsewhere feel it's bad practice to do
this,
Well, yes, but only because we author for our users, not for ourselves.

(Are you trolling?)
but I feel differently, as many users don't even know they can adjust
font-size on the browser


The user may not know how to resize it; that's probably true. So that
means it's dangerous to impose a size that may not work, right?

--
Brian (remove "invalid" to email me)
Jul 23 '05 #34
On Wed, 17 Nov 2004 20:58:59 +0100, Kris <kr*******@xs4all.netherlands>
wrote:
In article <lf****************************@40tude.net>,
Mark Parnell <we*******@clarkecomputers.com.au> wrote:
> font-size: 100;


Hobnobs?


Ohio votes.


LOL

--
Webontwerp <http://home.wanadoo.nl/b.de.zoete/html/webontwerp.html>
Zweefvliegen <http://home.wanadoo.nl/b.de.zoete/html/vliegen.html>
Blog <http://home.wanadoo.nl/b.de.zoete/_private/weblog.html>
DTD <http://home.wanadoo.nl/b.de.zoete/dtd/not_so_strict.dtd>
Jul 23 '05 #35
Lachlan Hunt wrote:
Neal wrote:
Lachlan Hunt wrote:
body { font-size: 1em; }

.. then you run into bugs in IE...

So what? I am not concerned about buggy behaviours in broken
browsers,


That's nice, but do you author for yourself or for your visitors?
and I don't support IE [1].
Despite the fact that some of your users may be stuck with it?
As long as the document is still accessible and readable, and the
markup and CSS conform to the specifications, I see no problem with
that.


It is rather trivial to change font-size: 1em to font-size: 100%. Your
css will still conform, and your visitors may be happier for it.

--
Brian (remove "invalid" to email me)
Jul 23 '05 #36
Brian wrote:
Lachlan Hunt wrote:
So what? I am not concerned about buggy behaviours in broken
browsers,
That's nice, but do you author for yourself or for your visitors?


The target audience for my site is web developers that should know
better, so I believe most of my visitors would be using a standards
compliant browser, though I have no access to browser statistics to
verify that.
and I don't support IE [1].


Despite the fact that some of your users may be stuck with it?


I have not received any complaints and my site is still perfectly
accessible, it just doesn't render as nicely in IE. One of the aims of
my site is to promote the use of standards and graceful degredation in
older browsers, without limiting accessibility.

Though, if it were a business site, and the target audience were not web
developers, then I would still allow it to degrade gracefully, but
perhaps not quite so significantly.
It is rather trivial to change font-size: 1em to font-size: 100%. Your
css will still conform, and your visitors may be happier for it.


That is true, but there is little point setting font size to 100%, or
even 1em on the body element, since it's the default size. However, I
generally use the font-size keywords anyway because they don't compound
like percentages do, making them easier to manage.

--
Lachlan Hunt
http://lachy.id.au/
http://GetFirefox.com/ Rediscover the Web
http://SpreadFirefox.com/ Igniting the Web
Jul 23 '05 #37
"Lachlan Hunt" <sp***********@gmail.com> wrote in message
news:xO******************@news-server.bigpond.net.au...
Brian wrote:
Lachlan Hunt wrote:
So what? I am not concerned about buggy behaviours in broken
browsers,


That's nice, but do you author for yourself or for your visitors?


The target audience for my site is web developers that should know better,
so I believe most of my visitors would be using a standards compliant
browser, though I have no access to browser statistics to verify that.


I have a site targeting web designers, and only 31% of visitors use
Gecko-based browsers. 58% use IE. So just maybe you should consider
supporting IE a bit better: after all, you really would not be supporting
IE; instead you would be supporting people who use IE.

Jul 23 '05 #38
"Lachlan Hunt" <sp***********@gmail.com> wrote in message
news:xO******************@news-server.bigpond.net.au...
Brian wrote:
Lachlan Hunt wrote:
So what? I am not concerned about buggy behaviours in broken
browsers,


That's nice, but do you author for yourself or for your visitors?


The target audience for my site is web developers that should know better,
so I believe most of my visitors would be using a standards compliant
browser, though I have no access to browser statistics to verify that.


I have a site targeting web designers, and only 31% of visitors use
Gecko-based browsers. 58% use IE. So just maybe you should consider
supporting IE a bit better: after all, you really would not be supporting
IE; instead you would be supporting people who use IE.


Jul 23 '05 #39
In comp.infosystems.www.authoring.html C A Upsdell said:
I have a site targeting web designers, and only 31% of visitors use
Gecko-based browsers. 58% use IE.
mine say 13% use IE and the rest are a wide mixture in roughly equal
amounts. if you add the different gecko flavors together its clearly
dominant.
So just maybe you should consider supporting IE a bit better:
theres different ways to look at it. should you continue to support such
a poor browser until people move to a better browser or drop support to
encourage people to move to a better browser.

MS would do the internet a great service if they put a browser like FF
on their automatic update thingy and encouraged everyone to use it.
after all, you really would not be supporting IE; instead you would be
supporting people who use IE.


my plans to have all IE users burnt at the stake are already too
advanced to change them now.
--
the facts and opinions expressed by brucies
l i t t l e v o i c e s
are not necessarily the same as those held by brucie.
Jul 23 '05 #40
C A Upsdell wrote:
I have a site targeting web designers, and only 31% of visitors use
Gecko-based browsers. 58% use IE.
That is sad. But, at least that's not bad considering just over 90% use
IE worldwide, and it's better than W3Schools, which still has about
70% IE users.
So just maybe you should consider supporting IE a bit better:
I don't think so. The major problem is that is that the sidebar is at
the bottom of the page in IE which is not an accessibility issue, they
just have to scroll a little further to get to it. The Pure CSS
navigation menu doesn't drop down either, but the links they miss out on
in the menu are accessible in other places. All the other problems are
just minor presentational tweaks, that don't seriously disadvantage any
user.
after all, you really would not be supporting IE; instead you would be
supporting people who use IE.


I support all users, in that they can still access everything on my
site. IE users are not disadvantaged in any way, except for the
presentation. But, as any good web developer knows, the content is more
important, which all users can access regardless of their UA.

--
Lachlan Hunt
http://lachy.id.au/
http://GetFirefox.com/ Rediscover the Web
http://SpreadFirefox.com/ Igniting the Web
Jul 23 '05 #41
begin quote from Nirvana in <cn**********@newsg4.svr.pol.co.uk>:
How to make the font size constant in HTML code, so that in a web
browser it remains fixed.
For e.g in IE if you press CTRL and move mouse wheel front or back the
font size changes,


You don't do this in HTML, ever. If you absolutely must have this, use a
format like PDF instead.

--
Shawn K. Quinn
Jul 23 '05 #42
On Wed, 17 Nov 2004 21:15:05 -0600, Shawn K. Quinn
<sk*****@xevious.kicks-ass.net> wrote:
begin quote from Nirvana in <cn**********@newsg4.svr.pol.co.uk>:
How to make the font size constant in HTML code, so that in a web
browser it remains fixed.
For e.g in IE if you press CTRL and move mouse wheel front or back the
font size changes,


You don't do this in HTML, ever. If you absolutely must have this, use a
format like PDF instead.


Though PDF's resize quite nicely.
Jul 23 '05 #43
"Shawn K. Quinn" <sk*****@xevious.kicks-ass.net> wrote in message news:<j8********************@speakeasy.net>...
begin quote from Nirvana in <cn**********@newsg4.svr.pol.co.uk>:
How to make the font size constant in HTML code, so that in a web
browser it remains fixed.
For e.g in IE if you press CTRL and move mouse wheel front or back the
font size changes,


You don't do this in HTML, ever. If you absolutely must have this, use a
format like PDF instead.


The PDF viewer has a zoom function, doesn't it?

--
Dan
Jul 23 '05 #44
Frances Del Rio <fd***@yahoo.com> wrote in message news:<2v*************@uni-berlin.de>...
http://www.francesdelrio.com/resume/

font sizes in body of this page remain constant even if user tries to
change it by doing view -> text size in IE..


Fortunately, Mozilla doesn't have this bug, and the font-changing
features (e.g., CTRL-+) work fine.

--
Dan
Jul 23 '05 #45
Lachlan Hunt <sp***********@gmail.com> wrote in message news:<U7******************@news-server.bigpond.net.au>...
C A Upsdell wrote:
I have a site targeting web designers, and only 31% of visitors use
Gecko-based browsers. 58% use IE.


That is sad. But, at least that's not bad considering just over 90% use
IE worldwide, and it's better than W3Schools, which still has about
70% IE users.


The figures on some of my own "techie-oriented" sites:

Dan's Web Tips: 31.97% Gecko, 47.40% MSIE
Dan's Domain Name Site: 11.98% Gecko, 50.69% MSIE
Dan's Mail Format Site: 46.63% Gecko, 40.99% MSIE

The less techie-ish audience for the tatiana.info site (about a
Hispanic singer/actress) breaks down as 6.09% Gecko, 84.87% MSIE.

--
Dan
Jul 23 '05 #46
Lachlan Hunt wrote:
Brian wrote:
Lachlan Hunt wrote:
So what? I am not concerned about buggy behaviours in broken
browsers,
That's nice, but do you author for yourself or for your visitors?


The target audience for my site is web developers that should know
better,


Should they be punished if their employers don't "know better"? I've
worked more than a couple of jobs where MSIE/Win was the only choice.
I have not received any complaints and my site is still perfectly
accessible, it just doesn't render as nicely in IE.
That seems much more sensible then you first let on ("I don't support
buggy browsers" made me wonder if MSIE/Win users could reasonably access
the site at all!).
It is rather trivial to change font-size: 1em to font-size: 100%.
Your css will still conform, and your visitors may be happier for
it.


That is true, but there is little point setting font size to 100%, or
even 1em on the body element, since it's the default size.


Actually, there is: to avoid an MSIE/Win bug with resizing fonts. This
bug can affect font size as well as widths and margins set in em units.
Sure, you could opt to stick it to MSIE/Win users, but why would you
want to do that?
However, I generally use the font-size keywords anyway because they
don't compound like percentages do, making them easier to manage.


Except that not all browsers handle them the same way.

--
Brian (remove "invalid" to email me)
Jul 23 '05 #47
Daniel R. Tobias<da*@tobias.name> wrote:

The figures on some of my own "techie-oriented" sites:

Dan's Web Tips: 31.97% Gecko, 47.40% MSIE
Dan's Domain Name Site: 11.98% Gecko, 50.69% MSIE
Dan's Mail Format Site: 46.63% Gecko, 40.99% MSIE
Unfortunately, your browser detection script leaves some
to be desired, as it identified one of my U-A strings:

"Opera/7.54#3865 Windows/98SE Proxomitron/4.3 Kerio/2.1.5
HTML/4.01 XHTML/1.1 CSS/2.1 DOM/1 (mostly) ECMAScript
(occasionally) Java/1.4.2_02 (almost never) Flash
(almost never) (Active-X (Hah!)) (Enough chatting for now,
though. Have a nice day)"

as 'Casio PDA' or somesuch. Who knows what your numbers
really mean. :-)
The less techie-ish audience for the tatiana.info site (about a
Hispanic singer/actress) breaks down as 6.09% Gecko, 84.87% MSIE.


Thanks. I was going to ask what the numbers would look
like for a /well written/ (I haven't checked) commercial,
or at least non-technical, site. Less than 90% is perfectly
non-atrocious.

--n
Jul 23 '05 #48
In article <aa**************************@posting.google.com >,
Daniel R. Tobias <da*@tobias.name> wrote:
Dan's Web Tips: 31.97% Gecko, 47.40% MSIE
Dan's Domain Name Site: 11.98% Gecko, 50.69% MSIE
Dan's Mail Format Site: 46.63% Gecko, 40.99% MSIE


What about robots? Is the hits from robots included in the numbers?

My site has (since start of November) 72% MSIE and 8% Gecko if robots
are included and 81% MSIE and 9% Gecko if robots are excluded.

User Agent Robots Included Robots Excluded
------------------------- ----------------- -----------------
Opera 1.6% 1.8%

Gecko 7.7% 8.6%
Camino 0.0% 0.1%
Firefox 5.1% 5.7%
Other 2.6% 2.9%

Mozilla (non-Gecko) 3.7% 4.2%

KHTML 2.8% 3.1%
Safari 2.6% 2.9%
Konqueror 0.2% 0.2%
Other 0.0% 0.0%

MSIE 71.9% 80.8%

Other 1.3% 1.5%

Robots 11.0%
Validators 0.0%

--
Göran Larsson http://www.mitt-eget.com/
Jul 23 '05 #49

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

Similar topics

0
by: Federico Moschini [328594] | last post by:
I have to make difference between2 data from a table in SQL. The page is made with Frontpage, and it extracts QtaGiaCons and Quantita from table "oclrighe". I have to make Quantita -...
0
by: Madeleine togs | last post by:
<html> <body> <p><font face=3D"Arial">We Gua-ran-tee you will have:<br> <br> - Permanent Manh<font style=3Dfont-size:1px>}</font>ood grow<font style=3D= font-size:1px>|</font>th by at least 1-3...
2
by: jaydog | last post by:
Hello... I'm new to XSL, and I've written a XSLT file that converts a XML file to HTML format. When viewed in a browser, it appears exactly as I would like. However, if I want to look at the...
1
by: ajay | last post by:
I have following code for a slide menu but i twiked it to work for a single level menu. Open it in a Browser to get a clear picture. I have 2 Qs 1) How to make first entry as non-link. i.e i...
4
by: UJ | last post by:
I have a client who wants me to make a web page with a marquee on it. No problem. They want the text to be easily changeable. No problem. They want it so that the text will appear about the...
6
by: scottyman | last post by:
I can't make this script work properly. I've gone as far as I can with it and the rest is out of my ability. I can do some html editing but I'm lost in the Java world. The script at the bottom of...
14
by: GabrielESandoval | last post by:
I need to make a registration page for a community service volleyball tournament our organization is doing. I am VERY NEW to ASP. Would the easiest way to make it be just doing it on frontpage...
30
by: Takehiko Abe | last post by:
I have a <pelement with <ttinside: ;;; <p>A paragraph contains <tt>tt element</tt>.</p> I would like to set the font-size of the TT to the same as the containing <p>. This does not seem to...
2
by: Giannis911 | last post by:
Hi all, I'm having a problem with my web site which I'm working on. The problem is that if I change the size of the font everything turns into a mess - here's my web site:...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.