Forum Moderators: not2easy

Message Too Old, No Replies

"fixed" font in css in firefox

         

texasville

8:07 pm on Sep 18, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



firefox doesn't seem to respond to the style= fixed command in css. I am trying to fix the font size in a header so when people use text increase it doesn't splay the header all over the page. I don't use it for the main text. Some may need to increase that. But the header is already quite large enough.

createErrorMsg

8:19 pm on Sep 18, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



firefox doesn't seem to respond to the style= fixed command in css.

I'm not sure what "style=fixed" is, however, I can tell you that AFAIK (and thankfully), there is no way to make FF fix a font size so that the user resize option in the browser doesn't work. Allowing this would actually defeat the purpose of the browser's font resizer, which is to put the control in the user's hands, not the designers.

If you don't want the header size increasing, make it an image and use an image replacement technique. (Note that in Opera, and hopefully in the future more browsers, even this won't work. Opera's Zoom feature allows you to increase the size of everything, including images.)

cEM

texasville

8:32 pm on Sep 18, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I can understand the user having a decision so far as a readability factor but for page layout it is ignorant. To properly aid those that have sight issues they need to develop it so it is like laying a magnifying glass across the scrfeen. Otherwise it just makes the layout of the page seem ridiculous and unartistic. Art is what this site is all about. If you can't freeze the size of the header, it is worthless. firefox leaves a lot to be desired.

rjohara

8:43 pm on Sep 18, 2005 (gmt 0)

10+ Year Member



Try John Alsopp's classic essay Web Pages are not Printed on Paper [westciv.com] to see that art isn't what it used to be - if you come to the television world with radio expectations, things won't turn out right.

texasville

11:29 pm on Sep 18, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



radio and tv are a good analogy. But, even better-let's try movies.
If you were able to change whole "layouts" in movies-say-move Cary Grant from a cornfield to an inner city-in north by northwest-then the crop duster would have no relevance.
Layout in a website has nothing to do with user ability. It should be as the designer designed it. If you change art as the artist intended-you shouldn't be looking at art anyway.
Firefox is just a geek oriented toy. It may have it's good points but taking my ability to keep my presentation from being skewed is taking away my rights. If I keep the page disability compliant, it should be my choice as to how it is viewed.

createErrorMsg

2:37 am on Sep 19, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



taking my ability to keep my presentation from being skewed is taking away my rights

You can retain control over your layout by creating an image of what your page looks like and serving that image to the user. Otherwise, the page will consist of html elements, many whose appearance is simply beyond your control. OS's, browser quirks, default settings, installed fonts, user stylesheets ... the list goes on ... all stand in the way of your page appearing to every user in exactly the manner you want.

the header is already quite large enough

You're missing the entire point behind accessibility, which is that you (designer) don't have any idea what font-size is "large enough" for me (user) to read.

it should be my choice as to how it is viewed

See msg#7 in this thread [webmasterworld.com] for why the above line is actually irrelevant.

cEM

texasville

4:24 am on Sep 19, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You are right. I agree totally. But I still think that instead of a browser just resizing the text it should incrementally resize the "whole" page.
I am going to go back and redo my index page and use it as a template. I will just have to do some tradeoffs. I am going to have to try for an "elastic" layout so the artistic quality can still come thru.
Wish me luck. sheesh...use to think this was all easssy. lol. I now understand a gentleman that has done web design for years. He said that to keep up with the web, you have to run as hard as you can just to stay in place.
Thanks.

collymellon

8:28 am on Sep 19, 2005 (gmt 0)

10+ Year Member



Wouldn't setting the font to a specific size say 18px stop the font re-sizing on browser text-adjust?

victor

8:53 am on Sep 19, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



But I still think that instead of a browser just resizing the text it should incrementally resize the "whole" page.

But that would mean scrolling the whole page, not just the part someone is trying to read.

It's not easy packing an all the accessibility issues when you are just getting up to speed with this stuff. But there is some joy in resizing your pages and watching them almost magically reflow to fit the space available. Like watching a very clever dog do tricks, and you know you are the one who trained him.

Robin_reala

12:37 pm on Sep 19, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Colly - no. That's a bug in IE, and doesn't exist in other browsers.

collymellon

12:49 pm on Sep 19, 2005 (gmt 0)

10+ Year Member



ahh thanks for clearing that up..

jessejump

2:02 pm on Sep 19, 2005 (gmt 0)

10+ Year Member



>>>>>> radio and tv are a good analogy. But, even better-let's try movies.

No analogies. People increase the text size so they can "READ" what's on the page. They know the page will be altered some - they don't care. Only you do.

texasville

8:18 pm on Sep 19, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



jesse- I disagree- some people do not understand it all. The first time I became even aware of the problem was in a potential customers office and he looked at a site I had done and I had not taken into account text resize. I was making my navigation text appear to be buttons using a background. When he clicked on it (with his text enlarged) the whole page looked really crappy. And I could tell that is what he was thinking.
I didn't get the client but I was back to my pc that night fixing the problem. At least in ie. mostly I changed what I was naming my navigation so it wouldn't wrap. shorter names cured that problem pretty well but I learned a lot that day. So, it's not just what "I" think.

texasville

4:52 am on Sep 20, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I just wanted to add that I spent 10 hours today, teaching myself how to do a page in divs and layers and css(already rely on css but using tables)...I was tired..my eyes worn out. I went to google and ran a couple of searches. Used the text resize in ie and lo and behold..you can resize the page but not the search bar. whatever you type in there is limited to a small fixed size. lol