HighDots Forums  

HTML, CSS

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss HTML, CSS in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
MaxNeo
 
Posts: n/a

Default HTML, CSS - 08-30-2004 , 09:54 AM






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

Reply With Quote
  #2  
Old   
David Dorward
 
Posts: n/a

Default Re: HTML, CSS - 08-30-2004 , 10:11 AM






MaxNeo wrote:

Quote:
You can try here with this site,
What site? Google groups? Most people do not use a web interface to access
usenet.

Quote:
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


Reply With Quote
  #3  
Old   
Alan J. Flavell
 
Posts: n/a

Default Re: HTML, CSS - 08-30-2004 , 11:18 AM



On Mon, 30 Aug 2004, David Dorward wrote:

Quote:
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.

Quote:
(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.

Quote:
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!


Reply With Quote
  #4  
Old   
Chris Morris
 
Posts: n/a

Default Re: HTML, CSS - 08-31-2004 , 04:58 AM



"Alan J. Flavell" <flavell (AT) ph (DOT) gla.ac.uk> writes:
Quote:
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


Reply With Quote
  #5  
Old   
Alan J. Flavell
 
Posts: n/a

Default Re: HTML, CSS - 08-31-2004 , 12:33 PM



On Tue, 31 Aug 2004, Chris Morris wrote:

Quote:
"Alan J. Flavell" <flavell (AT) ph (DOT) 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


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.