Different CSS Styles

Posted by Nimbuz on Stack Overflow See other posts from Stack Overflow or by Nimbuz
Published on 2010-03-15T04:52:30Z Indexed on 2010/03/15 4:59 UTC
Read the original article Hit count: 201

Filed under:
|
|
|
/* Style 1 */
.myclass {
 background:#ff0;
 border:1px solid #ff0
}
#myid {
 width:80px;
 height:80px;
}

/* Style 2 */
.myclass     { background:#ff0; border:1px solid #ff0 }
#myid        { width:80px; height:80px; }

I'm sure there must be more styles for writing CSS, I'd like to know what are they. Is there an article already written that lists all styles.

Thanks

© Stack Overflow or respective owner

Related posts about css

Related posts about html