homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

Disable Text Increase?
Is it possible?

 2:03 pm on Apr 26, 2001 (gmt 0)

I am doing a site where the navigation sits on top of a an image that is tiled horizontaly accross the screen using CSS.


If someone were to change the font size from 100% or made it bigger it knocks the navigation downwards making look like images over lap etc. Is there a way to get round or disable this feature?



 4:00 pm on Apr 26, 2001 (gmt 0)

If you use CSS, you can specify an absolute font size. Then regardless of what the user does with the default font sizes, the size of the text should stay the same.


 4:30 pm on Apr 26, 2001 (gmt 0)

Are you sure XOC...I think the user has the final say in css, hence the cascading in the name cascading style sheets. It denotes the order in which things are to be formatted with the user having the final say. :)


 6:43 pm on Apr 26, 2001 (gmt 0)

I think It's one of those default browser setting things... IE's default browser setting is to allow the web page to specify fonts & colors and to allow style sheets. In order to override the page's specified appearance, you need to tinker with your browser's default settings, which most people won't do.


 7:13 pm on Apr 26, 2001 (gmt 0)

On Windoze, System Font settings override all others, then browser default settings, then ?


 7:23 pm on Apr 26, 2001 (gmt 0)

Funny thing - I just ran into this one with a client today. They bought a new computer where the system fonts had been set to "large". We discovered we have one page that didn't flow properly. Sigh. The fact that no one noticed it for over a year makes me think that very few people reset the system font size.

I've never been able to find the choice to override CSS declarations in MSIE. I know there's a long list of settings at Tools/Internet Options/Advanced, but none of them seem to apply. Can anyone point me to the thing?


 7:30 pm on Apr 26, 2001 (gmt 0)

Preferences> Web Content> Page Content> Show Style Sheets (y/n)

(In IE Mac... but it seems quite similar to IE Win in other ways, so this might help...)


 9:53 pm on Apr 26, 2001 (gmt 0)

Actually, it's under accessibility. You can specify that you don't want to have CSS tinker with your fonts. You can also specify a local CSS style sheet that overrides the CSS that the Web Designer specifies. However, if the Web Designer specifies !important, then the Web Designer's CSS overrides the local CSS. Unless, of course, the local CSS specifies !important too!


 10:01 pm on Apr 26, 2001 (gmt 0)

Thanks. That solves a long standing mystery for me. I use NN most of the time (because it has so many bugs, and I want to see the worst case scenarios) so I can be pretty clueless with Explorer.


 1:58 pm on Apr 27, 2001 (gmt 0)

Actually re-reading the spec, I got what I said above backwards. The CSS1 spec (section 3.1) says:

A reader rule with an important declaration will override an author rule with a normal declaration. An author rule with an important declaration will override a reader rule with an important declaration.

I personally think it's wrong that an author can override a reader. The way to avoid that is that an author should never specify !important.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved