Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Yahoo CSS Reset

5 views
Skip to first unread message

Harlan Messinger

unread,
Nov 9, 2009, 11:37:33 AM11/9/09
to
My attention has just been drawn to the Yahoo CSS Reset described at

http://developer.yahoo.com/yui/3/cssreset/

Supposedly this "foundational CSS Reset removes the inconsistent styling
of HTML elements provided by browsers." While I can appreciate this in
theory, it doesn't help with problems with inconsistencies among
browsers, and among modes within browsers, in treatment of CSS
itself--for example, whether or not a given browser ignores the top
margin normally given to paragraphs when a paragraph is the first
paragraph in a containing block.

Have any of you looked into or even used the Yahoo CSS Reset? I'm
interested in comments on its value, its shortcomings, its reliability,
and any issues it presents that need their own work-arounds.

David Stone

unread,
Nov 9, 2009, 12:29:11 PM11/9/09
to
In article <7lquqdF...@mid.individual.net>,
Harlan Messinger <hmessinger...@comcast.net> wrote:

What is the * in the repeated font-size rule for?

[quote]
input,textarea,select {
font-family:inherit;
font-size:inherit;
font-weight:inherit; }
input,textarea,select {
*font-size:100%;}
[/quote]

Harlan Messinger

unread,
Nov 9, 2009, 1:08:07 PM11/9/09
to

I understand that IE7 and earlier ignore the * and read the declaration
after it while compliant browsers ignore the entire declaration, so it's
a hack used to set properties specific to IE6 and IE7.

Andreas Prilop

unread,
Nov 12, 2009, 10:04:00 AM11/12/09
to
On Mon, 9 Nov 2009, Harlan Messinger wrote:

> http://developer.yahoo.com/yui/3/cssreset/


>
> I'm interested in comments on its value, its shortcomings, its
> reliability, and any issues it presents that need their own work-arounds.

<TH dir=rtl> is left-aligned in Firefox and
<TD dir=rtl> is right-aligned in FF with this "CSS Reset".

--
In memoriam Alan J. Flavell
http://www.alanflavell.org.uk/charset/

0 new messages