This happens to me all the time... with me, it's usually that my style
sheet is getting processed by my autohandler, which makes it an invalid
CSS file (given that it has HTML in it then).
If all your top level Mason components are using an autohandler and the
autohandler is responsible for the <head> element, then the autohandler
will need to include that <link> if that's the way you want to do it.
If I were you, I'd load your web page in a browser and look at the
page's source... if the code to load the CSS file isn't there, then
that's your culprit and you'll need to fix that. If the code to load the
CSS file is there, then I'd try to manually load the CSS file in the
browser - just type the file's URL into the address bar. If you get an
error, you need to fix that... if you don't then check to see if the CSS
file is corrupted... does it have HTML in it? If it does, it's probably
getting run through your autohandler and you'll need to stop that from
happening.
- john romkey
http://www.romkey.com/
Raful Mr Mitchell H wrote:
> My external style sheet works on my webserver on NON-mason sites. It
> just doesn't work on my site in mason. What am I doing wrong with
> Mason? Should my <link rel="stylesheet" type="text/css"
> href="mystyles"> be in my <head></head> of my autohandler?
>
> Thanks,
>
> Mitch
>
> Mitch Raful, MCSE CCNP
> Network Engineer
> HQMC MCCS
> 3044 Catlin Avenue
> Quantico, VA 22134
> 703-784-5991
>
> "T'm Mitch Raful, and I approved this message."
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ------------------------------------------------------------------------
>
> _______________________________________________
> Mason-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mason-users
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users