marty.net 1001 Postcards Love Love Love Meep Meep ZenZodiac DailyQuotation

YOU ARE HERE:
PHP and CSS Styles

HOME

CPSHOP|

|

|

EMAIL MARTY
  marty.net message board
  « PHP and CSS Styles »
Welcome, Guest. Please Login or Register.
12/18/17 at 01:08:27
Home Help Search Login Register
   marty.net message board
   About cpshop
   Customization Help
   PHP and CSS Styles
(Moderator: Marty)
Pages: 1 Reply Notify of replies Send the topic Print 
   Author  Topic: PHP and CSS Styles  (Read 887 times)
brickholius
Silver Dragon
***

Posts: 42



Go Scots!
   

E-Mail
PHP and CSS Styles
« on: 04/27/04 at 09:30:42 »
Reply with quote Modify message

Hi, I have a php page which refers to my styles.css sheet. Currently it is linked like so:

<link rel="stylesheet" href="styles.css" type="text/css">

How can I change this link so my template will point to the stylesheet. I got all the images to work...just need to fix the stylesheet.

brickholius
Logged
Marty
Administrator Dragon
*****

Gender: male
Posts: a whole lot



That's me. :)
   

WWW E-Mail
Re: PHP and CSS Styles
« Reply #1 on: 04/27/04 at 10:03:28 »
Reply with quote Modify message

Change the href attribute so it's an absolute path.  (In other words, put a slash before styles.css.)

<link rel="stylesheet" href="/styles.css" type="text/css">
Logged

--
Regards,
Marty·.¸¸.·´¯`·.¸¸.-> marty@marty.net
brickholius
Silver Dragon
***

Posts: 42



Go Scots!
   

E-Mail
Re: PHP and CSS Styles
« Reply #2 on: 04/27/04 at 12:44:40 »
Reply with quote Modify message

wahooO! Thanks marty!
Logged
Pages: 1 Reply Notify of replies Send the topic Print 
Jump to:


marty.net message board (http://www.marty.net/cgi/marty/board/messageboard)

Powered by YaBB 1 Gold - Release (Yet Another Bulletin Board)
Copyright © 2000-2001, X-Null. All Rights Reserved.