05-05-2006, 11:17
|
#73 (permalink)
|
|
vague™
Join Date: Mar 2004
Location: Glasgow
Posts: 5,120
|
Quite liked this:
Quote:
If I have a fixed-width container and want some padding around elements within it, I often use this CSS:
#container {
width: 500px;
}
#container * {
margin: 0 15px;
}
#container * * {
margin: 0;
}
|
http://bitesizestandards.com/bites/u...ersal-selector
__________________
|
|
|
|