(Trevor) wrote:
>For example
>main.css ---> all common styles
>
>electronics.css --> specific to electronics, but it also has the
>properties from main.css
It really is better to remove the repeated styles from the specialised
stylesheets.
>One possibility is for multiple style sheets in one document, or to
>have one style sheet call another one (as a submodule).
>
>Can CSS handle anything like this?
Yes.
At the very top of your stylesheet include:
@import url(main.css)
Or do it in HTML and just include multiple <link> elements.
Steve
--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor
Steve Pugh <> <http://steve.pugh.net/>