dave richards wrote:
>
> I'm currently trying to learn css/html and am having difficulties with font
> sizes. The site loads a background with an image of a circle. All of the
> content needs to fit inside this circle
It _needs_ to fit? I have seen many attempts to fit textual content
within the confines of a fixed size background image, but don't recall
any that were really successful. You cannot reliably acheive this using
just HTML and CSS because you have no control over the visitor's fonts
or text size.
That's the nature of web media, and it is A Good Thing(TM). Start
accepting it now and you will save yourself oodles of frustration later.
It will also make you a better web designer.
> in my css I listed a number of fonts (the site needs a font that looks like
> handwriting).
>
> body {
> font-family: "Monotype Corsiva","Comic Sans MS", "Cursive";
It _needs_ to look like handwriting? Cursive fonts are generally hard
to read on screen. They can be OK for headings (if they are a
sufficiently large font size), but not for body text.
> font-size:16px;
Per accessibility guidelines, do not use px for font sizes, but
something relative to the user's preferred default text size. I highly
recommend % units.
BTW, my default text size is larger than 16px, so you just made a font
that was already hard to read on screen even more difficult, perhaps
even unreadable. I would likely have to zoom text to read it at all,
which would probably mess up your layout. That's the nature of the web.
Ask yourself who is the site for, you or your visitors? Based on your
answer, you may want to reconsider what you really _need_.
--
Reply address is a bottomless spam bucket.
Please reply to the group so everyone can share.
|