Fernando Campos
|
| Posted: 11/25/2002, 10:01 AM |
|
Is it possible to change the text size view in the browser using CSS by the client?
Thank you
|
|
|
 |
Andrew B
|
| Posted: 11/25/2002, 1:01 PM |
|
Could you explain the scenario you are asking about a little more?
I believe that CCS uses pixel heights for the text by default. A few browsers will let the client change this, but other won't. You could modify the styles to use 'em's, which would let any client change the size.
|
|
|
 |
Fernando Campos
|
| Posted: 11/26/2002, 5:08 AM |
|
The site generated by CCS using CSS doesn’t allow the user change the font size. This is quite important when the user has visual disabilities
|
|
|
 |
phelt
|
| Posted: 11/28/2002, 2:32 PM |
|
Internet Explorer does not resize text whose size is specified using px (pixels) in a CSS style. There's argument as whether this is a flaw in IE due to misinterpretation of the CSS specification, but the bottom line is that IE won't resize the text.
There is no perfect solution. Some people simply go back to using FONT tags, which will resize in nearly all browsers but which sacrifice some properties of CSS (hover effects, background, etc). Some people use other size definitions in their styles, such as em, but the implementations are inconsistent between browsers (text displays as different sizes in IE and Mozilla for example) and can be difficult to manage. Another method is to use JavaScript to determine which stylesheet to deliver to the client, depending on which browser they are using.
|
|
|
 |
|