Welcome to WebmasterWorld Guest from 54.147.10.72

Forum Moderators: not2easy

Message Too Old, No Replies

Playing with CSS page sizes

is Smaller better ?

     

DaveN

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

WebmasterWorld Senior Member 10+ Year Member



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.

DaveN

tedster

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

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



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?

DaveN

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

WebmasterWorld Senior Member 10+ Year Member



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

Daven

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

tedster

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

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



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

DaveN

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

WebmasterWorld Senior Member 10+ Year Member



cheers ;)

eeblet

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?
 

Featured Threads

Hot Threads This Week

Hot Threads This Month