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

HTML, CSS

Hi everybody,

I have a question, hope somebody will help me out!

You can try here with this site, View, Lettersize bigger and it'll be changed.
But some of the sites that I've visited, whatever you do, it won't change!

How can they manage to do that?

Thank you,
MaxNeo
Jul 20 '05 #1
4 1268
MaxNeo wrote:
You can try here with this site,
What site? Google groups? Most people do not use a web interface to access
usenet.
View, Lettersize bigger and it'll be changed. But some of the sites that
I've visited, whatever you do, it won't change!


There is a bug in Internet Explorer which makes font resizing very difficult
when the font size is specified in absolute units (like pixels). You should
avoid using absolute units for font sizes and stick to those relative to
the user's preferences (using % for instance).

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jul 20 '05 #2
On Mon, 30 Aug 2004, David Dorward wrote:
There is a bug in Internet Explorer which makes font resizing very
difficult when the font size is specified in absolute units
That's part of the design! The whole point (no pun intended) of
absolute units is that they are specified to be absolute units,
verifiable by reference to some scratches on a metal bar in Paris -
or whatever the modern equivalent is.

(The fact is that they aren't "absolute" in practice, because screens
usually aren't calibrated to a standard measure; but that's a bug in
the implementation, not in the specification).

It's not as if the CSS specification doesn't address this problem
already:

http://www.w3.org/TR/REC-CSS2/syndata.html#length-units

Absolute length units are only useful when the physical properties of
the output medium are known.

In short: "unfit for screen display situations". The only way to deal
with such inappropriate specifications is to override them. One
really should -not- expect to be able to re-scale them - that would be
defeating their purpose, i.e introducing a bug in order to compensate
for bad design. But CSS is meant to be optional, so there's nothing
wrong with overriding the inappropriate specification entirely,
IMNSHO.
(like pixels).
Ah: CSS pixel units are a category of their own; they don't officially
fall under "absolute length units", they're supposed to be adjusted to
the display situation (device resolution and expected viewing
distance). In practice, of course, it's a different story...

But in theory, CSS px units (properly scaled according to the
principles in the CSS spec) would be an appropriate choice for a mass
viewing situation, e.g for a projection screen, where individual
choice of font size according to each reader's wishes or needs is not
feasible.
You should avoid using absolute units for font sizes and stick to
those relative to the user's preferences (using % for instance).


Of course - no disagreement about the conclusion!
Jul 20 '05 #3
"Alan J. Flavell" <fl*****@ph.gla.ac.uk> writes:
But in theory, CSS px units (properly scaled according to the
principles in the CSS spec) would be an appropriate choice for a mass
viewing situation, e.g for a projection screen, where individual
choice of font size according to each reader's wishes or needs is not
feasible.


Projection screens vary in quality a lot, though. Most of the time
when I'm demonstrating things on projectors I can keep the font-sizes
at browser-default and the people at the back have no trouble
reading. Once I had to move it to ~150% of normal just to get the text
(which on the slides I was using was already quite large) to be
readable at the front. That's not really something that the scaling
principles in the text would cover - the text was the same physical
size, the audience about the same distance away (which of course might
not be the case, but that does allow some sizing by seat position...),
but the screen/projector quality varied so much.

--
Chris
Jul 20 '05 #4
On Tue, 31 Aug 2004, Chris Morris wrote:
"Alan J. Flavell" <fl*****@ph.gla.ac.uk> writes:
But in theory, [...]
Projection screens vary in quality a lot, though.


Sure! How does that saying go again? - "In theory, theory and
practice are the same; but in practice ...".

I'm not sure that I can think of a situation where the ability to
adjust the presentation according to the needs of the user(s) isn't a
benefit. A benefit directly to the users - but also indirectly to the
deezyners, if only they could recognize it.

all the best
Jul 20 '05 #5

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

Similar topics

4
by: VK | last post by:
09/30/03 Phil Powell posted his "Radio buttons do not appear checked" question. This question led to a long discussion about the naming rules applying to variables, objects, methods and properties...
4
by: Francois Keyeux | last post by:
hello everyone: i have a web site built using vbasic active server scripting running on iis (it works on either iis 50 and 60, but is designed for iis 50) i know how to create a plain text...
1
by: cirillo_curiosone | last post by:
Hi, i'm new to javascript. I started studing it on the web few weeks ago, but still haven't been able to solve one big problem: HOT TO PASS VALUES FROM A SCRIPT VARIABLE TO A CHILD HTML...
33
by: LRW | last post by:
http://gto.ie-studios.net/index.php When you view the above site in IE, if the 1st of the three product images is tall enough to push the cell down a couple of pixels, IE somehow doesn't show...
0
by: Boris Ammerlaan | last post by:
This notice is posted about every week. I'll endeavor to use the same subject line so that those of you who have seen it can kill-file the subject; additionally, Supersedes: headers are used to...
9
by: Patient Guy | last post by:
Taking the BODY element as an example, all of its style attributes ('alink', 'vlink', 'background', 'text', etc.) are deprecated in HTML 4.01, a fact noted in the DOM Level 2 HTML specification. ...
5
by: serge calderara | last post by:
Dear all, I am new in asp.net and prepare myself for exam I still have dificulties to understand the difference between server control and HTML control. Okey things whcih are clear are the fact...
6
by: Guy Macon | last post by:
cwdjrxyz wrote: HTML 5 has solved the above probem. See the following web page: HTML 5, one vocabulary, two serializations http://www.w3.org/QA/2008/01/html5-is-html-and-xml.html
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.