Richard Silverstein wrote:
telling me exactly what I should delete fr. the html doc declaration.
In other words, what should this statement look like if it was
correct?
<!--
DOCTYPE html
PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
Richard Silverstein's Photo Galleries at pbase.com
the style element is part of the html page. Don't declare a separate
dtd for the style element. All that I left above can be deleted. Get
rid of the --> too.
<style type="text/css">
body {font-size: 100% }
/* etc. */
</style>
BTW, it is better to put styles in a separate stylesheet via the link
element. If you do, remember that a stylesheet is not a hypertext
markup language (html) document. Thus, there is no dtd in it.
As for the font size, it looks fine as it displays on my site.
No. It looks fine on your computer. But your computer is not my
computer. Your computer is not Joe's computer, either. Nor
Mustafah's. And it certainly isn't anyone's pda, or cell-phone....
Perhaps this site has some quirks that allow non standard css
formatting to look OK.
I assure you that is not the case. The font is tiny, smaller than
what I want to read, and thus what I set in my browser.
But returning to yr. comment about font size
standards, if I don't use pixels or pt. what standard should I use?
And what might be the range from small (but readable) size to large
(headline type) for this font size measurement?
I'm going to answer these questions in reverse order.
2. Users can set a default font in their browser. Don't try to
override their wishes. Leave the font size of the body element alone.
Ditto for the p element. As it is, I need to increase the font size
with my Mozilla browser.
1. Don't use pt or px, because, while I can resize it in Mozilla, one
cannot do that using certain versions of MSIE. Use em units, or
percent. They are more or less equal. I'll explain percentage.
Leave the body alone. Or, since there are reportedly bugs in IE,
explicitly to 100%, that is, the users default (no matter which
browser they use).
body {font-size: 100%}
Set other elements to a percentage of the body element, or the default
user's setting, e.g.,
h1 {font-size: 140%}
h2 {font-size: 120%}
p.legalnotice {font-size: 90%}
Very little text should be set below 100%. Some say that *no* text
should be below 100%. I think it's ok to put a copyright notice or
other such things a bit smaller, but not too much below.
Please edit the quoted parts of your replies. And consider using
google to search for the faq, and read this newsgroup. The info about
the font size gets repeated every week in this newsgroup. It's the
second time I've answered it in last 10 minutes.
--
Brian
follow the directions in my address to email me