From: "Karin Christensen"
| I'm still learning by trial and error how to use css, but am having a
| fun with it. Someone stated a short time ago that it is better to use
| percent, em, or pixels to define a font size and not to use pt. Why
percent and em allow a user to change the size of the font on their
pixel sets the font a specific size
pt is a size unit use for print. [monitors and screens are different
because they size differently between os and display, pt is fixed to
percent may be more favored with some because ems may be buggy in some
old browser applications. Some feel percent offers a better sizing
You will find a lot of discussions about this topic at various design
sites. And depending on what you are doing, you will have good arguments
for using whichever it is you wish to use.
For usability/accessibility reasons, relative sizing is better in the
long run and it allows users the ability to zoom or greatly enlarge page
text. [relative sizing is ems, percents, and relative words like small,
Todd Fahrner has some interesting discussions on CSS and Font use[dated,
but good reads]
| The other question is why are most using the forward slash after the
| within the tag <.br />? I also see this done with hr.
BR , HR, IMG, META
and a few form tags and others have no closing tags in HTML.
If someone writes or authors their markup with X HTML, they need to
close all these tags.
So that tag without the colors becomes the opener and closing tag by
placing a space and an endslash after the element.
The space is used so older technology disregards that slash. XHTML
parsing trims white space and reads the slash.
More on differences between XHTML and HTML on this page which I think is
written very well.
the break tag has no punctuation and would be <br /> if that displays
well in email. [smile]
Sponsored by www.westciv.com - CSS resources | software | learning