Forum Moderators: not2easy

Message Too Old, No Replies

font size in css

just another font size question

         

briandangbob

4:04 pm on Aug 21, 2003 (gmt 0)

10+ Year Member



hello-

i can't resolve my problem because i think i am to new at css to really understand how to grasp the concept of sizing fonts.

i have read many discussions and it seems that everybody wants the user to be able to resize their fonts. i want to do the opposite.

i have a design element, which is some text controled by css with a 10 pixel size. my goal is to not have any browser on any os resize it. is this possible through css. i know i can ebed some sort of rasterized pic, but i wouldn't get the results i am looking for. can anybody help me?

thanks in advance!

benihana

4:08 pm on Aug 21, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



opera (i think) has a built in zoom tool, and i dont think you would get round this.

IMO this is generally a bad idea in terms of accessibility, particuarily if your fixing it so small.

i would recommend trying to design pages that can cope with resizng, and use ems or % for fonts.

briandangbob

4:20 pm on Aug 21, 2003 (gmt 0)

10+ Year Member



i agree with you. my site meets all accesiblity rules, but i am a designer that likes to do creative things that are generally out of the box. if i could i would design everything with director and flash, but that would be bad for this site. the text is a design element and not really supposed to be read just to sit there and look like james dean posted up at a bar, or in other words cool. does anybody know if i can lock all the text zoom and text resize features in browsers on some but not all text. of course it is in its own layer.

benihana

4:23 pm on Aug 21, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



fair enough.

what are the issues with using a pic though?

btw: operas zoom will zoom pictures as well

BlobFisk

4:30 pm on Aug 21, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member




my goal is to not have any browser on any os resize it.

Ouch!


my site meets all accesiblity rules

I don't think so - if you're using absolute pixel sizes. It's WCAG, Guideline 3.4 [w3.org].


is this possible through css

No is the simple answer. The user will always have ultimate control. You can make it hard for them - but not impossible.

briandangbob

4:47 pm on Aug 21, 2003 (gmt 0)

10+ Year Member



alright guys and girls. it was just a question. i didn't think it would be possible, but had to ask the pros. there is nothing wrong with using a picture but i wanted the text to stay as vector font, nice clean and crisp. sometimes i like to try to bend the rules to achieve the ultimate design. i guess you could say i am a non conformist. blobFisk your right i lied about being accesible. i will ground myself :)