No luck, i tried everything I could think of.  NO html in the style sheet. I 
can get to the style sheet via the browser and the link statement is there see 
below, again, the top of the page to </head> is the autohandler:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
<head>
    <title>Management App</title>
    <LINK rel="stylesheet" href="mystyles.css" type="text/css">
 </style>
 </head>


<div class="content">
    <!--[if gte IE 5]>
    <style type="text/css">
            ul.spcssmenu ul {
                display: none;
                position: absolute;
                top: 4px;
                left: 100px;
            }
            ul.spcssmenu li {
                behavior: url( ieexplorer.htc );
            }
    </style>
   <![endif]-->

   
<ul class="spcssmenu">
    <li class="sub"><a href="#">Uno</a>
    <ul>
        <li class="sub"><a href="#" class="sub">Uno</a>
            <ul>
                <li><a href="#">Uno</a></li>
                <li><a href="#">Dos</a></li>

                <li><a href="#">Tres</a></li>
            </ul>
        </li>
        <li><a href="#">Dos</a></li>
        <li><a href="#">Tres</a></li>
        <li><a href="#">Quatro</a></li>
    </ul>

    </li>
    <li class="sub"><a href="#">Dos</a>
        <ul>
            <li class="sub"><a href="#">Uno</a></li>
            <li class="sub"><a href="#">Dos</a></li>
            <li class="sub"><a href="#">Tres</a></li>
        </ul>

    </li>
    <li class="sub"><a href="#">Tres</a>
       <ul>
        <li><a href="#">Uno</a></li>
        <li><a href="#">Dos</a></li>
        <li><a href="#">Tres</a></li>
       </ul>

    </li>
    <li class="sub"><a href="#">Quatro</a>
      <ul>
        <li><a href="#">Uno</a></li>
        <li><a href="#">Dos</a></li>
      </ul>
     </li>

    </ul>
</html>


Stylesheet:

html body {
    background: #e4e4dd;
    }

body {
    font: x-small arial, sans-serif;
    voice-family: "\"}\"";
    voice-family: inherit;
    font-size: small;
    color: #333;
    background: #e4e4dd;
    }

h3{
    font-family: "lucinda sans unicode", lucinda, arial, sans-serif;
    color: #330;
    font-weight: normal;
    font-size: 110%;
    text-transform: lowercase;
    }

.small {
    font-size: 85%;
    }

a {
    text-decoration: none;
  }
  
a:link {
    color: #600;
    font-weight: bold;
    }

a:visited {
    color: #4f1a00;
    }
    
a:hover {
    color: #222;
}

ul.spcssmenu, ul.spcssmenu ul {
    width: 100px;
    height: 100px;
    padding: 0px;
    margin: 0px;
    }

ul.spcssmenu li {
    list-style-type: none;
    list-style-image: url( pixel.gif );
    list-style-position: outside;
    width: 94px;
    margin: -1px 0px 0px 0px;
    padding: 3px 3px 3px 3px;
    position: relative;
    border: 1px solid #fff;
    font: 12px verdana, arial, sans-serif;
    background-color: #9b9b88;
    }
    
ul.spcssmenu li>ul {
    display: none;
    position: absolute;
    top: 4px;
    left: 100px;
    }
    
li.sub {
    background: url("sub.gif") no-repeat right;
    }
    
ul.spcssmenu li:hover {
    background: #600;
    }
    
ul.spcssmenu li:hover>ul {
    display: block;
    }

ul.spcssmenu li a {
    text-decoration: none;
    display: block;
    width: 94px;
    font-weight: bold;
    }
    
ul.spcssmenu li a:link{
    color: #fff;
    }
    
ul.spcssmenu li a:visited {
    color: #fff;
    }
ul.spcssmenu li a:hover {
    color: #fff;
    }


Thanks,

Mitch
-----Original Message-----
From: John Romkey [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 01, 2006 1:36 PM
To: Raful Mr Mitchell H
Cc: Mason-Users (E-mail)
Subject: Re: [Mason] external stylesheet


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
> Mason-users@lists.sourceforge.net
> 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
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to