Welcome to WebmasterWorld Guest from 54.205.88.118

Forum Moderators: incrediBILL

Disable Text Increase?

Is it possible?

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

WebmasterWorld Senior Member 10+ Year Member



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

BUT....

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?

Xoc

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

WebmasterWorld Senior Member 10+ Year Member



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)

10+ Year Member



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)

WebmasterWorld Senior Member mivox is a WebmasterWorld Top Contributor of All Time 10+ Year Member



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)

WebmasterWorld Senior Member 10+ Year Member



On Windoze, System Font settings override all others, then browser default settings, then ?
7:23 pm on Apr 26, 2001 (gmt 0)

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



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)

WebmasterWorld Senior Member mivox is a WebmasterWorld Top Contributor of All Time 10+ Year Member



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...)

Xoc

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

WebmasterWorld Senior Member 10+ Year Member



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)

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



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.

Xoc

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

WebmasterWorld Senior Member 10+ Year Member



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.

 

Featured Threads

Hot Threads This Week

Hot Threads This Month