There is no concept of nesting or grouping CSS blocks. However, you
can organize your CSS at a file level. In this case a file named
bigbutton.css that contains
> .bigButton .buttonLeft { background-image:url(bigButton-left.gif); }
> .bigButton .buttonCenter { background-image:url(bigButton-
> center.gif); }
> .bigButton .buttonRight { background-image:url(bigButton-right.gif); }
> .bigButton ...

dcm

On Oct 24, 5:40 am, David Portabella <[EMAIL PROTECTED]>
wrote:
> Hello,
>
> I currently have something like:
>
> .bigButton .buttonLeft { background-image:url(bigButton-left.gif); }
> .bigButton .buttonCenter { background-image:url(bigButton-
> center.gif); }
> .bigButton .buttonRight { background-image:url(bigButton-right.gif); }
> .bigButton ...
>
> How can I group the .bigButton contextual selector?
> something like this:
>
> .bigButton [
>    .buttonLeft { background-image:url(bigButton-left.gif); }
>    .buttonCenter { background-image:url(bigButton-center.gif); }
>    .buttonRight { background-image:url(bigButton-right.gif); }
>    ...
> ]
>
> Regards,
> DAvid
--~--~---------~--~----~------------~-------~--~----~
--
You received this because you are subscribed to the "Design the Web with CSS" 
at Google groups.
To post: [email protected]
To unsubscribe: [EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---

Reply via email to