--> Wednesday, September 17, 2003, 4:22:55 PM, [EMAIL PROTECTED] wrote:

> I have my pages my "SitePage" class which inherited the Page class. in
> SitePage I declared my own writeStyleSheet(), this function gets called
> whenever any page is loaded, I know this cuz of a simple print statement
> in there, yet my pages don't actually have the string returned anywhere in
> it. The crazy thing was it's been working great, and after getting some
> sleep, I come back and this annoying situation happens. Anyone ever
> experienced this? It is currently driving me crazy as my site looks like a
> complete piece of turd! please help.

Does it look like this?

  def writeStyleSheet(self):
    self.writeln('\t<link rel=stylesheet href=/style.css type=text/css>') 

It probably should. ( I added \t for nice source formatting. )
Does the stylesheet you've specified exist?

Did you override a method which leads to writeStyleSheet?
writeHTML, writeHead, etc...

Look at Page.py and learn how it works.

-Kai



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to