Mel wrote:
"Els" <el*********@tiscali.nl> wrote in message
news:40**********************@dreader2.news.tiscal i.nl...
Mel wrote:
i have :
#DOTTED {
BORDER: CCCCCC 1px dotted;
}
and:
#BOX {
padding: 10px;
margin: 10px;
}
how can i inherit dotted when i use the BOX ? in otherwords, i want my box
to be dotted around the border ?
You mean like this?
#BOX {
padding:10px;
margin:10px;
border: 1px dotted #CCCCCC;
}
NO!
No need to shout, I'm not deaf.
because i have so many other items that i want to be dotted and don't want
to include "border: 1px dotted #CCCCCC;" everywhere !!!
You only asked about #BOX, not about 'so many other items'.
But don't worry, it's possible.
#DOTTED, #BOX, #so, #many, #other, #items {
border:1px dotted #CCCCCC;
}
They don't all have to be id's, could be just as well like this:
..so, .many, .other, .items {
border:1px dotted #CCCCCC;
}
Does this answer suit you better?
--
Els
http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -