/ Published in: CSS
                    
                                        
This is a general set of style sheet commands that you can add to your CSS. It basically creates styles for very general actions that we take when creating layouts. This will make it easy to float, clear, and position elements by giving them a generic class and not having to individually select the element.
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
/*STANDARD COMMANDS
=== === === === === === === === === === */
.clear {
clear:both;
}
.left {
float:left;
}
.right {
float:right;
}
.block {
display:block;
}
.inline {
display: inline;
}
strong {
font-weight: bold;
}
em {
font-style: italic;
}
.dull {
color: #999;
}
.dark {
color: #333;
}
.invalid {
color: #F00;
font-weight: bold;
line-height: 92%;
font-size: 85%;
}
.valid {
color: green;
line-height: 92%;
font-size: 85%;
}
Comments
 Subscribe to comments
                    Subscribe to comments
                
                