homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: not2easy

CSS Forum

Playing with CSS page sizes
is Smaller better ?

 3:19 pm on Mar 13, 2002 (gmt 0)

this is a style sheet that i am using at Present :

P,BODY,TD,INPUT,TEXTAREA,SELECT,.n,A{font:10pt Verdana,Geneva,Arial,Helvetica,sans-serif;color:#006}

BODY{background-color:#FFF;margin:0px 0px 20px 0px;padding:0px}

.t,.tc,.b,.bc,.br,.h,.hc,.hr,.r15,A {font-weight:bold}

.t,.tc,.r15 {font-size:15pt}

.h,.hc,.hr {background-color:#CCC}
.r,.r15,A:hover {color:#F00}

.nc,.bc,BODY,.tc,.hc {text-align:center}

.nr,.br,.hr {text-align:right}

A {text-decoration:none}

Complete chop down to the small file size possible.

comments please on any problems or issues.




 3:39 pm on Mar 13, 2002 (gmt 0)

Amazing, the way you group the selectors for each style like that -- a very innovative way to do things. Since you said you are using it, I assume you haven't run into any display problems.

It requires a shift for me to wrap my mind around this, but I could probably get used to it. How easy is it for you to figure out an edit when changes are required?


 3:47 pm on Mar 13, 2002 (gmt 0)

display problems no works IE, Opera , Netscape.

Changes when required it's dead easy once you get your head around its not the selector you are changing its a colour, or a font.

e.g bold :

title tags (t)
bold tags (B)
highlight tags (h)

if i didn't want bold in the highlights i remove highlights from bold

to me each line is a colour, bold, align, etc


try this one :
url in profile + /style.css


 4:23 pm on Mar 13, 2002 (gmt 0)

I gotta say, you may start a trend with this. I like it a lot.


 4:27 pm on Mar 13, 2002 (gmt 0)

cheers ;)


 4:30 pm on Mar 13, 2002 (gmt 0)

I'm a bit confused: can't you set some of these things in BODY and let inheritance work its magic?

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved