Topic: CSS and font size... ARG! Pages that link to <a href="https://ozoneasylum.com/backlink?for=10744" title="Pages that link to Topic: CSS and font size... ARG!" rel="nofollow" >Topic: CSS and font size... ARG!\

 
Author Thread
KARN
Bipolar (III) Inmate

From: North Bay, Ontario, CA
Insane since: Apr 2001

IP logged posted posted 05-28-2002 04:28 Edit Quote

here is the code for our CSS for our site...

BODY {
font-family: Arial, Helvetica, sans-serif, sans-serif;
font-size: xx-small;
line-height:15px;
color: #FFFFFF;
scrollbar-3dlight-color : Black;
scrollbar-arrow-color : White;
scrollbar-base-color : Black;
scrollbar-darkshadow-color : Black;
scrollbar-track-color : Black;
scrollbar-face-color : #D38203;
scrollbar-shadow-color : White;
scrollbar-highlight-color : White;
background : Black;
}

TD {
font-family: Arial, Helvetica, sans-serif, sans-serif;
font-size: xx-small;
line-height:15px;
color: #FFFFFF;
}

and here's the first few lines on our first page:

<html>
<head>

<LINK REL=stylesheet HREF="FusedEffects.css" TYPE="text/css">

some how on the internet explorer the font size can still change even when i used CSS... i compared my code to a few sites that actually work and it looks the same... do i have a flaw in there somewhere... pls

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

IP logged posted posted 05-28-2002 04:34 Edit Quote

Setting your font size to a keyword like xx-small allows the users to change the font size. Same with setting it to ems or percentages (though i believe those are buggy in some popular browsers).

So, if you want to avoid letting the user change the size, set the size in pixels (px).

But... why would you want to do that? If I set IE to make the font size bigger, it's because I want it bigger! As a user, I don't want you overriding my settings just because you can. Do the right thing; let the user change their font size if they want to. People have good reasons to do it. (Like, if they have a large resolution on a small monitor, fonts need to be larger to be readable... or maybe they have slight vision problems and prefer the easier-to-read fonts, or maybe they have a tiny resolution and would prefer to fit more text on the screen at once by making the font size smaller.)

It's a part of design. Don't sacrifice useability unless it's absolutely necessary.

KARN
Bipolar (III) Inmate

From: North Bay, Ontario, CA
Insane since: Apr 2001

IP logged posted posted 05-28-2002 23:40 Edit Quote

agreed... jst my partner wants to... is it possible to limit the text size's maximum instead then... cause if veiwed under largest on a browswer it's really ugly looking...

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

IP logged posted posted 05-29-2002 00:01 Edit Quote

Again, if you need to limit it, specify the size in pixels (px). But I still recommend you don't do that (realize that most people have their font size set to medium on IE).

[This message has been edited by Slime (edited 05-29-2002).]



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu