Point to style sheet in another directory

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • htmlnoob112233
    New Member
    • Jun 2009
    • 20

    Point to style sheet in another directory

    How do you point to a style sheet in another directory using the below code i.e.

    the directory needed is
    Code:
    ../style/style.css
    code
    Code:
    <link rel="stylesheet" type="text/css" href="<?php echo (!$style)?'style':$style ?>.css" />
  • Atli
    Recognized Expert Expert
    • Nov 2006
    • 5062

    #2
    Did you try just adding "../style/" in front of your <?php ?> block?

    Comment

    • htmlnoob112233
      New Member
      • Jun 2009
      • 20

      #3
      Oh yer, thanks. :):)

      Comment

      • Atli
        Recognized Expert Expert
        • Nov 2006
        • 5062

        #4
        No problem :)

        Comment

        Working...