Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* instead of typing four css lines */
- padding-top: 0;
- padding-right: 20px;
- padding-bottom: 30px;
- padding-left: 10px;
- /* we can type only one line */
- padding: 0 20px 30px 10px;
- /* where first number is for top */
- /* second is for right padding */
- /* third is for bottom padding */
- /* and fourth is for left */
- /* another example */
- margin-top: 0;
- margin-right: 20px;
- margin-bottom: 30px;
- margin-left: 10px;
- /* replace with */
- margin: 0 20px 30px 10px;
- background-color: white;
- background-image: url(images/cocktail.gif);
- background-repeat: repeat-x;
- /* VS */
- background: white url(images/cocktail.gif) repeat-x;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement