WebsiteBaker Community Forum

WebsiteBaker Support (2.8.x) => Templates, Menus & Design => Topic started by: lexscripta on May 04, 2008, 03:14:41 PM

Title: How to handle multiple style sheets
Post by: lexscripta on May 04, 2008, 03:14:41 PM
Ver 2.67

I have a port I am working on and seem to be having a problem getting the styling to work. I have it set up in the index.php like this:

Code: [Select]
<link href="<?php echo TEMPLATE_DIR?>/micro.css" rel="stylesheet" type="text/css" media="screen" />
<link href="<?php echo TEMPLATE_DIR?>/screen.css" rel="stylesheet" type="text/css" media="screen" />
<link href="<?php echo TEMPLATE_DIR?>/print.css" rel="stylesheet" type="text/css" media="print" />
<link href="<?php echo TEMPLATE_DIR?>/micro-ie.css" rel="stylesheet" type="text/css" media="screen" />
<!--[if IE]>
<link href="<?php echo TEMPLATE_DIR?>/micro-ie.css" rel="stylesheet" type="text/css" media="screen" />
<![endif]-->

Tell, me is there something wrong with this?

LexScripta
Title: Re: How to handle multiple style sheets
Post by: ruebenwurzel on May 04, 2008, 03:16:33 PM
Hello,

what is your problem?

Matthias
Title: Re: How to handle multiple style sheets
Post by: lexscripta on May 04, 2008, 03:40:14 PM
Well, it doesn't seem to be picking up the stylesheet "style.css".
 I have looked at the FF plugin and it is definitely recognizing it, but states that the file is "empty" when it is not.

Am I to assume that above declarations are valid?

Thanks

LexScripta
Title: Re: How to handle multiple style sheets
Post by: ruebenwurzel on May 04, 2008, 03:44:52 PM
Hello,

in the code in your first post you did not link to a "style.css". So if you did not link to it, it could not be integrated.

Matthias
Title: Re: How to handle multiple style sheets
Post by: lexscripta on May 04, 2008, 03:50:26 PM
Quote
Hello,

in the code in your first post you did not link to a "style.css". So if you did not link to it, it could not be integrated.

Matthias

Oh great - Now My cheeks are red. :oops:

Thanks so much for your help. Sometimes my eyeballs are crossed.  :wink:

LexScripta