How can you include StyleSheets in the code?

Discussion related to NP Subscriber.

How can you include StyleSheets in the code?

Postby toasty » Sat Jan 13, 2007 1:58 pm

I figured out the page variables are in the (big surprise) var.txt file. However it'd be much easier if I could just reference my site's CSS instead of trying to hand code each snippet of code.

Any thoughts on how to include a CSS for the subscription.cgi? (or wherever it needs to go?)

Thanks!

ps. awesome script by the way. I burned through 7 PHP scripts this morning and Subscriber fit the bill with almost exactly what I was after.
toasty
 
Posts: 1
Joined: Sat Jan 13, 2007 1:55 pm

Postby Admin-BS » Sat Jan 13, 2007 3:00 pm

You should be able to just go to the Edit Variables screen, and edit the header HTML code. Insert a reference to the file where you keep your CSS:

<link rel="stylesheet" type='text/css' href="/path/to/style.css" />

Or you can add all of the CSS there itself. The header and footer HTML code there is just like editing HTML.
Admin-BS
Site Admin
 
Posts: 99
Joined: Sat Dec 31, 2005 6:52 pm
Location: USA


Return to Subscriber

Who is online

Users browsing this forum: No registered users and 1 guest

cron