[css-d] user adjusted font sizing in browsers

2005-05-20 Thread shawn a
Does anyone know if there is a way to set a portion of text so that
someone cannot increase or decrease the size using their web browser.


thanks
~shawn a
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] user adjusted font sizing in browsers

2005-05-20 Thread jack fredricks
IE doesnt resize fixed (px) fonts. 

All other decent browsers will resize font's regardless of what unit
you specify. This is how it should be.

Maybe try JS?

however, if you do this, please make sure the font is readable to
those with poor eyesight. Making something 14pts and fixing it is
nicer than making something 7pts and fixing it.

On 5/21/05, shawn a <[EMAIL PROTECTED]> wrote:
> Does anyone know if there is a way to set a portion of text so that
> someone cannot increase or decrease the size using their web browser.
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] user adjusted font sizing in browsers

2005-05-20 Thread Christian Heilmann
> Does anyone know if there is a way to set a portion of text so that
> someone cannot increase or decrease the size using their web browser.

No, luckily enough good browsers will always allow your visitors to
change the display to cater their needs. You can use Flash or text as
an image though, if you want to prevent  that.

-- 
Chris Heilmann 
Blog: http://www.wait-till-i.com
Writing: http://icant.co.uk/  
Binaries: http://www.onlinetools.org/
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] user adjusted font sizing in browsers

2005-05-20 Thread [EMAIL PROTECTED]
only way is to make it an image... Probably a bad idea to do that
Joel Goldstick
shawn a wrote:
Does anyone know if there is a way to set a portion of text so that
someone cannot increase or decrease the size using their web browser.
thanks
~shawn a
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] user adjusted font sizing in browsers

2005-05-20 Thread Roger Roelofs
Shawn,
On May 20, 2005, at 5:42 PM, shawn a wrote:
Does anyone know if there is a way to set a portion of text so that
someone cannot increase or decrease the size using their web browser.
Use a picture  :)
Seriously, you can do it in ie/win to a point, but you _really_ 
shouldn't.  It's like locking the door to every 10th customer... not 
good for the bottom line.

hth
Roger,
Roger Roelofs
Know what you value.
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] user adjusted font sizing in browsers

2005-05-20 Thread dwain
shawn a wrote:
Does anyone know if there is a way to set a portion of text so that
someone cannot increase or decrease the size using their web browser.
thanks
~shawn a
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
see: http://css-discuss.incutio.com/?page=UsingFontSize
hth,
dwain
--
Dwain Alford
http://www.alforddesigngroup.com
web hosting: http://www.1and1.com/?k_id=7653741
http://www.spreadfirefox.com/?q=affiliates&id=0&t=1/
"The artist may use any form which his expression demands;
for his inner impulse must find suitable expression."
Wassily Kandinsky, "Concerning The Spiritual In Art"
---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 0520-3, 05/19/2005
Tested on: 5/20/2005 5:14:43 PM
avast! - copyright (c) 1988-2005 ALWIL Software.
http://www.avast.com

__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] user adjusted font sizing in browsers

2005-05-20 Thread Uwe Kaiser
Roger Roelofs schrieb:
Shawn,
On May 20, 2005, at 5:42 PM, shawn a wrote:
Does anyone know if there is a way to set a portion of text so that
someone cannot increase or decrease the size using their web browser.

Use a picture  :)
Seriously, you can do it in ie/win to a point, but you _really_ 
shouldn't.  It's like locking the door to every 10th customer... not 
good for the bottom line.

Seriously, every browser has the ability to overwrite the page's
style sheet, or to use the user's style sheet instead.
Even if you use a picture, every browser can manipulate the size,
because browsers are made for that.
My grandma is using MSIE6/PC. And if she wants to increase the
font-size a developer has set on 8pt, than she do it, in oposition
with this developer she knows how.
BTW. MSIE has this ability since version 4 (released 11.11. 1997)
regards,
Uwe Kaiser
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] user adjusted font sizing in browsers

2005-05-20 Thread Felix Miata
Uwe Kaiser wrote:
 
> Even if you use a picture, every browser can manipulate the size,
> because browsers are made for that.

I know the markup can size an image larger than its intrinsic size,
but how and in which browsers is this done by an ordinary surfer?
 
> My grandma is using MSIE6/PC. And if she wants to increase the
> font-size a developer has set on 8pt, than she do it, in oposition
> with this developer she knows how.

I'd like to know how. No IE I've ever used can do it. Try on this page,
according to its instructions:
http://members.ij.net/mrmazda/auth/IE/line-heightIEpt.html

Have you given her a bunch of user stylesheets to do it with?
-- 
"Through Him all things were made; without Him nothing was made
that has been made."John 1:3 NIV

 Team OS/2 ** Reg. Linux User #211409

Felix Miata  ***  http://members.ij.net/mrmazda/auth/

__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] user adjusted font sizing in browsers

2005-05-20 Thread Gunlaug Sørtun

Felix Miata wrote:

Uwe Kaiser wrote:
My grandma is using MSIE6/PC. And if she wants to increase the 
font-size a developer has set on 8pt, than she do it, in oposition

 with this developer she knows how.



I'd like to know how. No IE I've ever used can do it. Try on this 
page, according to its instructions: 
http://members.ij.net/mrmazda/auth/IE/line-heightIEpt.html


Have you given her a bunch of user stylesheets to do it with?


Felix, have you completely forgotten about "ignore font size..." in
IE/win. No user-stylesheets needed for that. Even my old IE4 can do it.

Sure some designers mess it up with pixel-defined line-heights, but it
is working. A nice little stylesheet (or ten) will of course work even
better.

regards
Georg
--
http://www.gunlaug.no
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] user adjusted font sizing in browsers

2005-05-20 Thread Felix Miata
Gunlaug Sørtun wrote:
 
> Felix Miata wrote:

> > Uwe Kaiser wrote:

> >> My grandma is using MSIE6/PC. And if she wants to increase the
> >> font-size a developer has set on 8pt, than she do it, in oposition
> >>  with this developer she knows how.

> > I'd like to know how. No IE I've ever used can do it. Try on this
> > page, according to its instructions:
> > http://members.ij.net/mrmazda/auth/IE/line-heightIEpt.html

> > Have you given her a bunch of user stylesheets to do it with?
 
> Felix, have you completely forgotten about "ignore font size..." in

Surely you jest. Take another read of the first sentence on that URL.

> IE/win. No user-stylesheets needed for that. Even my old IE4 can do it.
 
> Sure some designers mess it up with pixel-defined line-heights, but it
> is working.

Sometimes yes, sometimes no. A lot of authors mess things up with fixed
line-heights, and even more mess it up using em for line-height.

> A nice little stylesheet (or ten) will of course work even
> better.
 
Maybe, maybe not. If all authors were undersizing via the Owen Briggs
method , then
users could override with a single simple user stylesheet rule. More
often, rather complicated stylesheet(s) is/are required, because pages
are using an extensive array of classes and ids instead.
-- 
"Through Him all things were made; without Him nothing was made
that has been made."John 1:3 NIV

 Team OS/2 ** Reg. Linux User #211409

Felix Miata  ***  http://members.ij.net/mrmazda/auth/

__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] user adjusted font sizing in browsers

2005-05-20 Thread Paul Novitski

At 10:07 PM 5/20/2005, Felix Miata wrote:

> Sure some designers mess it up with pixel-defined line-heights, but it
> is working.

Sometimes yes, sometimes no. A lot of authors mess things up with fixed
line-heights, and even more mess it up using em for line-height.



Felix, could you explain that last?  I thought using ems (or percentages) 
for line-height was the only way to keep line-height proportional to the 
current font-size.


Thanks,
Paul 



__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] user adjusted font sizing in browsers

2005-05-21 Thread Philippe Wittenbergh


On 21 May 2005, at 3:19 pm, Paul Novitski wrote:

Sometimes yes, sometimes no. A lot of authors mess things up with 
fixed

line-heights, and even more mess it up using em for line-height.



Felix, could you explain that last?  I thought using ems (or 
percentages) for line-height was the only way to keep line-height 
proportional to the current font-size.


I'm not sure what problems Felix allude to.
One problem should be obvious however, when it comes to ems (or %). If 
you set the base size, and the line-height of your text on the body 
tag, and then only give a font-size for child elements, those will 
inherit the *computed* value of line-height form the 


something like
body { font: 1em/2em serif}
h1 {font-size: 2em; }

the line-height for the h1 will be computed as 2em based on the 
font-size of 


A better solution: use a numerical value for line-height
body { font: 1em/2 serif}

Philippe
---/---
Philippe Wittenbergh


__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] user adjusted font sizing in browsers

2005-05-21 Thread Uwe Kaiser

Philippe Wittenbergh schrieb:

One problem should be obvious however, when it comes to ems (or %). If 
you set the base size, and the line-height of your text on the body tag, 
and then only give a font-size for child elements, those will inherit 
the *computed* value of line-height form the 


something like
body { font: 1em/2em serif}
h1 {font-size: 2em; }

the line-height for the h1 will be computed as 2em based on the 
font-size of 


A better solution: use a numerical value for line-height
body { font: 1em/2 serif}

Philippe



The difference between em or % and a scaling factor at the other hand
is, that you once cause the computed value to be inharited and once the
scaling factor.


body {font-size: 12px}
div {line-height: 1.5em}   /* inherited computed value= 18px */
p {font-size: 1.3em}   /* font-size= 16px, line-height= 18px */


body {font-size: 12px}
div {line-height: 1.5}  /* inherited scaling factor= 1.5 */
p {font-size: 1.3em}   /* font-size= 16px, line-height= 24px [1] */


[1] The exact line-height depends on the rounding algorithm
of the used browser. Some displays a line-height of 23px.




regards,
Uwe Kaiser
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] user adjusted font sizing in browsers

2005-05-21 Thread Felix Miata
Paul Novitski wrote:
 
> At 10:07 PM 5/20/2005, Felix Miata wrote:

> > > Sure some designers mess it up with pixel-defined line-heights, but it
> > > is working.

> >Sometimes yes, sometimes no. A lot of authors mess things up with fixed
> >line-heights, and even more mess it up using em for line-height.
 
> Felix, could you explain that last?  I thought using ems (or percentages)
> for line-height was the only way to keep line-height proportional to the
> current font-size.

That only works at the current level. Descendants get the computed
line-height rather than the proportion. Number for line-height gives
the proportion to descendants as well.

The URL in the post you replied to
http://members.ij.net/mrmazda/auth/IE/line-heightIE.html was created
precisely to demonstrate that problem, as was its sister page that uses
pt instead of px for line-height:
http://members.ij.net/mrmazda/auth/IE/line-heightIEpt.html

http://members.ij.net/mrmazda/tmp/Images/line-height-IE.gif shows the
former in IE6 on W98 @ 120 DPI with author font styles and sizes
disallowed. If the IE font size is increased, the problem gets worse.
-- 
"Through Him all things were made; without Him nothing was made
that has been made."John 1:3 NIV

 Team OS/2 ** Reg. Linux User #211409

Felix Miata  ***  http://members.ij.net/mrmazda/auth/

__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] user adjusted font sizing in browsers

2005-05-21 Thread Felix Miata
Philippe Wittenbergh wrote:
 
> On 21 May 2005, at 3:19 pm, Paul Novitski wrote:
 
> >> Sometimes yes, sometimes no. A lot of authors mess things up with fixed
> >> line-heights, and even more mess it up using em for line-height.

> > Felix, could you explain that last?  I thought using ems (or
> > percentages) for line-height was the only way to keep line-height
> > proportional to the current font-size.
 
> I'm not sure what problems Felix allude to.
> One problem should be obvious however, when it comes to ems (or %). If
> you set the base size, and the line-height of your text on the body
> tag, and then only give a font-size for child elements, those will
> inherit the *computed* value of line-height form the 
 
> something like
> body { font: 1em/2em serif}
> h1 {font-size: 2em; }
 
> the line-height for the h1 will be computed as 2em based on the
> font-size of 

> A better solution: use a numerical value for line-height
> body { font: 1em/2 serif}

Demonstrating and explaining this is precisely the purpose of
http://members.ij.net/mrmazda/auth/IE/line-heightIEpt.html in the post
Paul replied to but failed to include in his quote.
-- 
"Through Him all things were made; without Him nothing was made
that has been made."John 1:3 NIV

 Team OS/2 ** Reg. Linux User #211409

Felix Miata  ***  http://members.ij.net/mrmazda/auth/

__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/