|
Helping ordinary people create extraordinary websites! |
CSS Shorthand PropertiesBy Trenton Moss2008-01-26
CSS borders Use:
...instead of
Use:
...instead of
(You can substitute right with The above CSS shorthand rules can be conveniently combined with the shorthand rules used by margin and padding. Take a look at the following box:
These borders can be achieved with the following CSS command:
You can achieve exactly the same effect by using:
Tutorial Pages: » CSS fonts » CSS background and lists » CSS margin and padding » CSS borders » Conclusion |
|