yep, that will do it just faaaaaaaaaaaine
thanks a lot
Mel
"Els" <els.aNOSPAM@tiscali.nl> wrote in message
news:40acb34f$0$41762$5fc3050@dreader2.news.tiscal i.nl...[color=blue]
> Mel wrote:
>[color=green]
> > "Els" <els.aNOSPAM@tiscali.nl> wrote in message
> > news:40acad71$0$41758$5fc3050@dreader2.news.tiscal i.nl...
> >[color=darkred]
> >>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[/color][/color][/color]
box[color=blue][color=green][color=darkred]
> >>>to be dotted around the border ?
> >>
> >>You mean like this?
> >>
> >>#BOX {
> >>padding:10px;
> >>margin:10px;
> >>border: 1px dotted #CCCCCC;
> >>}[/color]
> >
> > NO![/color]
>
> No need to shout, I'm not deaf.
>[color=green]
> > because i have so many other items that i want to be dotted and don't[/color][/color]
want[color=blue][color=green]
> > to include "border: 1px dotted #CCCCCC;" everywhere !!![/color]
>
> 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 -
>[/color]