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 00:58

In article <5ooj9wq2jv9v.182bboxls048q$>,
Els <> wrote:

> dorayme wrote:
> > In article <47a3a23a$0$14083$>,
> > Chris <> wrote:
> >
> >> 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.
> >
> > Nothing easier. You link to the main one on all the sites and you
> > add underneath another link to another css, the second overriding
> > a few things you want overridden. Is there some problem you have
> > for this not to work?
> >
> > <link rel="stylesheet" type="text/css" href="main.css">
> > <link rel="stylesheet" type="text/css" href="supplementary.css">
> >
> > in the head of the html docs on the site where the supplementary
> > is appropriate.
> From the OP:
> <quote>
> The obvious solution here is to break it up into two different css
> files and include both in every page in every site. This would affect
> a lot of pages unnecessarily, though, and would be cumbersome if I
> ever had to break it into 2, 3, or 4 small css files. A single
> include statement in one file would be a lot cleaner.
> </quote>
> ;-)


It seems obvious to me too to leave the main css file well alone,
not to touch a single hair of its poor head, not to break it up.
I happily see and agree with it being "cumbersome to break it
into 2, 3, or 4 small css files". I was suggesting no such thing.

The matter is so simple that I might well be missing something
obvious to you all? I think I am having quite a bit of trouble
lately with human communication. I might need extra terrestials
to talk to. But, alas, I am here on earth completely alone.




[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

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