WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.8 is now available!


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • How to handle multiple style sheets
  • Print
Pages: [1]   Go Down

Author Topic: How to handle multiple style sheets  (Read 5667 times)

Offline lexscripta

  • Posts: 75
How to handle multiple style sheets
« 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
Logged

Offline ruebenwurzel

  • Betatester
  • **
  • Posts: 8544
  • Gender: Male
  • Keep on Rockin
    • Familie Gallas Online
Re: How to handle multiple style sheets
« Reply #1 on: May 04, 2008, 03:16:33 PM »
Hello,

what is your problem?

Matthias
Logged

Offline lexscripta

  • Posts: 75
Re: How to handle multiple style sheets
« Reply #2 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
« Last Edit: May 04, 2008, 03:42:29 PM by lexscripta »
Logged

Offline ruebenwurzel

  • Betatester
  • **
  • Posts: 8544
  • Gender: Male
  • Keep on Rockin
    • Familie Gallas Online
Re: How to handle multiple style sheets
« Reply #3 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
Logged

Offline lexscripta

  • Posts: 75
Re: How to handle multiple style sheets
« Reply #4 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
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • How to handle multiple style sheets
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2