logo       

Re: CSS signatures: msg#01308

Subject: Re: CSS signatures
jeff kiesel wrote:

> this sounds very interesting, and i love when you guys push the
> envelope of css, but what is the benefit of including a signature?

Say that I decided that on my site

        p { font-size: 8px; }

because I'm using a 21" monitor at 800x600 and I think it looks great.

Now you come along and your eyes start to bleed from the squinting. You could add this to your user style sheet:

        p { font-size 14px!important } ;

but of course that would mean that EVERY 'p' would be set to that size, and do you want p = 14px for *every* site that you visit?

BUT since I know have this:

<body id="www-tntluoma-com">

you can refine your user style sheet to just fix P elements on my site by using

body#www-tntluoma-com p { font-size: 14px; }

and it will only enlarge the font size for P when you visit my site.

Say you don't want to see the h1 on top of all of my pages

body#www-tntluoma-com h1 { display: none; }

or you don't like the breadcrumbs

body#www-tntluoma-com div#breadcrumb { display: none; }


And so on....

TjL



--
30 Days to becoming an Opera Lover
                                       http://www.tntluoma.com/switch
Day 26: Email ( by Mark Schenk http://www.markschenk.com/ )
                          http://tntluoma.com/opera/lover/day26-mail/


_______________________________________________
css-discuss [css-discuss@xxxxxxxxxxx]
http://three.pairlist.net/mailman/listinfo/css-discuss
Sponsored by www.westciv.com - CSS resources | software | learning



<Prev in Thread] Current Thread [Next in Thread>