Current location: Hot Scripts Forums » General Web Coding » HTML/XHTML/XML » font size on IE resize


font size on IE resize

Reply
  #1 (permalink)  
Old 02-20-04, 11:09 AM
b0yakk b0yakk is offline
Newbie Coder
 
Join Date: Feb 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
font size on IE resize

a simple question..

wht do i have to add to my html codes if i want my font size to be the same even after a user changes the text size on the browser...

thx
Reply With Quote
  #2 (permalink)  
Old 02-20-04, 02:47 PM
karlcore karlcore is offline
Newbie Coder
 
Join Date: Nov 2003
Posts: 82
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by b0yakk
a simple question..

wht do i have to add to my html codes if i want my font size to be the same even after a user changes the text size on the browser...

thx
Think for a second about the reason why the browser has the option to resize text.
Give up? 1) So that the USER can control their own personal browsing experience and 2) So that people who NEED to can enlarge the text so that they can see it.

So why would you want to take away the user's control? 10:1 says you're asking this question because someone e-mailed you and said "d00d the font on your site is too small. I have my text-size preference set to 'small' and I can't see anything!"

So, in your mind, the solution is TAKE AWAY the user's control over their browsing experience by making it so that they can't resize the text?

IMO, you have two choices -
a) ignore people who ***** about the font size. They're in control over their own font size, and they should thank you for not using fixed-fonts like every other moron web designer or,
b) make the font large enough that it is still legible to people with their text-size preference set to "small".

Here's a hint -
IE's text-resize preference control is poorly made. It resizes based on whatever your size is set to. In other words, if you're using CSS and set your font size to 90%, then, the "small" setting makes the font size (about) 90% of that - or 81% of default. Move your font size to 80% and you're now down to 72% of default and so on. *
Mozilla and Opera do a much better job of resizing text, IMO.

I've found good success with using CSS keywords. For the most part, IE doesn't completely bugger that up too bad.

Regardless of your personal solution, keep something in mind -
Unless your site is an art or photography site, people are going there FOR THE TEXT CONTENT.
So if you're using small fonts that nobody can read, whats the point of having a website at all?

Additionally, usability studies show that reading performance is best with fonts at 12pt - in other words, a tad smaller than default.




* I'm using pretty arbitrary numbers just as a simple example
Reply With Quote
  #3 (permalink)  
Old 02-21-04, 05:06 AM
b0yakk b0yakk is offline
Newbie Coder
 
Join Date: Feb 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by karlcore
Think for a second about the reason why the browser has the option to resize text.
Give up? 1) So that the USER can control their own personal browsing experience and 2) So that people who NEED to can enlarge the text so that they can see it.

So why would you want to take away the user's control? 10:1 says you're asking this question because someone e-mailed you and said "d00d the font on your site is too small. I have my text-size preference set to 'small' and I can't see anything!"
1) No, no one complained about my text size. FYI, I am using the standard web text size, so i guess everyone can read it. No one complains.
2) The reason for this is because I am using a bg image for one of my table headings and if someone views using text size = "Largest", it screws up the background, okay?

Next time please try to not jump to any conclusions okay. Even this forum's text does not resize even if you view "Largest".

there's one thing to give vontrol to the user, which i agree totally, but its another issue when ur web page looks weird after resize...

So, anyone else can be helpfull with this? I am a bitignorant when it comes to text sizes and stuff. Using "-1" instead of "2" for font size doesnt help much...

thx
Reply With Quote
  #4 (permalink)  
Old 02-21-04, 09:26 AM
karlcore karlcore is offline
Newbie Coder
 
Join Date: Nov 2003
Posts: 82
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by b0yakk
1) No, no one complained about my text size. FYI, I am using the standard web text size, so i guess everyone can read it. No one complains.
What *is* standard web text size?

Quote:
Originally Posted by b0yakk
2) The reason for this is because I am using a bg image for one of my table headings and if someone views using text size = "Largest", it screws up the background, okay?
Then the design is broken. That doesn't mean you solve the problem by hijacking the user's control over their browsing experience.

Quote:
Originally Posted by b0yakk
Next time please try to not jump to any conclusions okay. Even this forum's text does not resize even if you view "Largest".
Then the people who run this site need to change it so that the font is relative.

Let Users Control Font Size - http://www.useit.com/alertbox/20020819.html

Dive Into Accessibility -
http://diveintoaccessibility.org/day...ont_sizes.html

DEMOS Project -
http://jarmin.com/demos/access/relative.html

Human Factors International: More About Fonts
http://www.humanfactors.com/downloads/feb022.htm

Who Should Control Font Size?
http://www.netmechanic.com/news/vol5/design_no13.htm

W3C: Care With Font Size
http://www.w3.org/2003/07/30-font-size

Finally - Here's a buncha CSS links
http://karlcore.com/links/links.php?cat=css
(May take a little bit of time to display. Be patient)
Reply With Quote
  #5 (permalink)  
Old 02-21-04, 11:01 AM
b0yakk b0yakk is offline
Newbie Coder
 
Join Date: Feb 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Thank you so much for the articles, although I have basically known everything there...
One thing I learned from all this though - if i can't make a pleasant, simple professional looking design without damaging the web design if someone resizes the text, then, who cares....I cant please everyone...

By the way, the standard font size meaning, font sized tht is used by most ppl website through observation is Arial 10 pt (-1), or verdana 8pt (-2)...i might be wrong, so dont sue me...

n if u resize the text in ur site to largest, u will understand the meaning of broken design...
Reply With Quote
  #6 (permalink)  
Old 02-21-04, 02:45 PM
karlcore karlcore is offline
Newbie Coder
 
Join Date: Nov 2003
Posts: 82
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by b0yakk
Thank you so much for the articles, although I have basically known everything there...
That's funny, because if you already knew everything on there, you wouldn't be referring to using the <font> element.
Truth is, you didn't read any of those articles.

Quote:
Originally Posted by b0yakk
By the way, the standard font size meaning, font sized tht is used by most ppl website through observation is Arial 10 pt (-1), or verdana 8pt (-2)...i might be wrong, so dont sue me...
Most people use small fonts because they're morons that don't know anything about usability.
Ask how many of them know what font size elicits the best reading & comprehension performance in formal usability tests.

Quote:
Originally Posted by b0yakk
n if u resize the text in ur site to largest, u will understand the meaning of broken design...
If you knew 1% of what it takes to create a CSS design like that, you would be asking moronic font size questions on message boards.

Additionally, I'm happy to know that people who NEED to view a site in a larger font can still gain access to my site's content, instead of getting frustrated by the fact that the designer has chosen to rob them of their ability to exercise their preference.
Reply With Quote
  #7 (permalink)  
Old 02-22-04, 06:11 AM
b0yakk b0yakk is offline
Newbie Coder
 
Join Date: Feb 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by karlcore
That's funny, because if you already knew everything on there, you wouldn't be referring to using the <font> element.
Truth is, you didn't read any of those articles.


If you knew 1% of what it takes to create a CSS design like that, you would be asking moronic font size questions on message boards.

Additionally, I'm happy to know that people who NEED to view a site in a larger font can still gain access to my site's content, instead of getting frustrated by the fact that the designer has chosen to rob them of their ability to exercise their preference.
Y does everything have to be a war of words? I came here, and I said tht it was a simple question, I asked, and you had no obligation to reply whatsoever.

I said I "basically know", does not mean I am the oh so enlightened one, ok. I wasn't refering to the <font> element, I was asking a general font sizing question...and the truth was, the answer was right infront of me all along - in my own website an answer i found no thanks to KarlCore and his articles or his smart mouth...

I never said I was smart, I am not stupid either and I am no moron...my questions may be a bit basic and some of you may get offended by it, because like some people, you think you are the GURU...

I ended my last post, trying to be friendly, thanking karlcore for his help and making light of the broken design things....oh, my visitors can still view the contents on my site as well...duh~
But i guess his ego got the best of him...ending my brief stay in this forum a disastrous one...

btw, did u change the default font size on ur site or is my browser just screwing around with me...

If the mod thinks he would like to see my account terminated...be my guest...
Reply With Quote
  #8 (permalink)  
Old 02-22-04, 11:20 AM
karlcore karlcore is offline
Newbie Coder
 
Join Date: Nov 2003
Posts: 82
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by b0yakk
Y does everything have to be a war of words?

My very first reply to you was quite informative.
YOU are the one who then made some assinine and snide comment about my website.
Lets take a look at YOUR work, sparky? Post the URL of your site and let's see what you can do.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Font size tag :) Peef HTML/XHTML/XML 9 08-16-08 06:55 PM
auto table resize derick_2k JavaScript 4 04-26-04 02:32 PM
will pay. php script needed. upload, resize, & email jamjammo Script Requests 4 02-29-04 08:30 PM
TINYBLOB tables size lordmerlin PHP 2 01-14-04 08:03 PM
font script seans9 Script Requests 7 09-10-03 12:15 PM


All times are GMT -5. The time now is 09:20 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.