You are here: Re: Including one stylesheet inside another « HTML « IT news, forums, messages
Re: Including one stylesheet inside another

Posted by dorayme on 02/02/08 01:17

In article <Xns9A37B12252ECFnanopandaneredbojias@85.214.90.236>,
Neredbojias <monstersquasher@yahoo.com> wrote:

> Well bust mah britches and call me cheeky, on Fri, 01 Feb 2008 23:09:36 GMT
> Chris scribed:
>
> > I've got a puzzling problem.
> >
> > We have multiple sites that use the same large css file. I just make a
> > copy of it for each site. For each site, though, I'd like to customize a
> > couple small things like link color.
> >
> > I could just edit each copy of the css file, but that would make it hard
> > to maintain when I want a change to appear in all sites.
> >
> > The ideal solution would be to use an <include> in the css file:
> >
> > my-big-file.css would be:
> >
> > #mystyle {
> > whatever:10px;
> > }
> > <include include="my-custom-css.css">
>
> The "ideal solution" is to put a style section in each page for
> customizations. Anything else is illogical.

No. If there is just one or two pages on one site that needs
something a bit different, then styles in the head to override
main *is* a reasonable thing to add (as you say). But if the
changes are to the site as a whole in some respects, then it is
not necessarily reasonable to do this on every page. But it would
be reasonable to have a supplementary sheet to link to and
especially if there are quite a few.

--
dorayme

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация