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

Posted by Els on 02/01/08 23:37

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:
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.





[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

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