WebsiteBaker Support (2.8.x) > Templates, Menus & Design

How to handle multiple style sheets

(1/1)

lexscripta:
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: ---<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]-->

--- End code ---

Tell, me is there something wrong with this?

LexScripta

ruebenwurzel:
Hello,

what is your problem?

Matthias

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

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

lexscripta:

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

--- End quote ---

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

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

LexScripta

Navigation

[0] Message Index

Go to full version