Forum Moderators: not2easy
I know there are problems with assigning size by "X-Small", etc. Internet Explorer seems to ignore this CSS. However, the text seems to look about right to me if I use a font size="2" (I notice Brett is using this tag, too). I know it defeats the purpose of CSS to put the font tags on every page. Does anyone know of a better way?
Thanks,
Vic
There is a good post from papabaer on this here [webmasterworld.com].
Having said this, I still generally use pixels (not points, this is a print unit) - but have started the move towards %'s.
body, body div, body p, body td{
font-size:x-small;
font-family: Verdana, Arial, Helvetica, sans-serif;
voice-family: "\"}\"";
voice-family: inherit;
font-size: small;
color:#333;}
html>body, html>body div, html>body p, html>body th,
html>body td, html>body li, html>body dd {
font-size: small;
/* */
}
So far it seems to work just fine in all the tests I've done.
body{
font-size:0.8em;
/* Equal to 13px (font size 2) when View>Text Size is set to Medium */
}
div{
font-size:0.5em;
/* This does therefore not mean 50% of default size (View>Text Size). Instead it is 50% of whatever value the document body has. In this case it would be equal to .4em */
}
I've got variable eyesight due to diabetes and alter mine frequently, it needs a reboot, but it's not exactly a major hassle otherwise.
Ah, but there is an easier way to override fixed font settings in IE for the visually impaired. Without rebooting!
Go to...
Internet Options > General > Accessibility > Ignore font size specified on Web pages.
I'm using IE6 so I cannot remember if that Accessbility button was there in previous versions.
Depending on what other font adjustments you've made on your system through the advanced properties will determine how the Accessbility option works. If you set your default font size to 120% (Large Fonts), the Accessibility button may not be an option, the results are unpredictable.