Hi Jim,

Mason is pretty orthogonal to CSS, so your approach should work. What you 
should check is if the HTML source your browser gets is what you (and your 
CSS file) expect. In the process of splitting it into header/menu/footer, you 
may have forgotten a DIV here or another tag there. Your HTML should be as 
close as possible to what you had before using Mason, on the *browser-side*. 

BTW, is the double <title> tag in the <head> section a wanted feature?

--pascal

On Tuesday 28 February 2006 22:36, Jim Babcock told us:
> Hopefully I'm not annoying anyone yet...
>
> I took a plain HTML page layout that I built in logical chunks and
> postioned using CSS position:absolute. It basically had a header across the
> top with a logo, title and search field in the l, c and r postions; a menu
> that went 100% wide below it; empty space for content; then a footer 80%
> down from the top.
>
> I added mason to the server and broke the page into header.html, menu.html,
> footer.html and called them all from autohandler. Now things are all mushed
> together. the fonts and sizes and centers are right, so I know I'm hitting
> the css sheet correctly...
>
> The autohandler is below:
>
> Jimbus
>
> <html>
> <head>
> <link rel="stylesheet" type="text/css" href="/resources/css/index.css" />
> <link rel="stylesheet" type="text/css" href="/resources/css/menu.css" />
> <link rel="stylesheet" type="text/css" href="/resources/css/header.css" />
> <link rel="stylesheet" type="text/css" href="/resources/css/footer.css" />
>
> <script type="text/javascript" src="/resources/js/menu.js"></script>
>
> <title>NEOps: </title>
> <title>NEOps: <& SELF:title &></title>
> </head>
>
> <body>
> <& header.html, %ARGS &>
> <& menu.html, %ARGS &>
>
> % $m->call_next;
>
> <& footer.html &>
>
> </body>
> </html>
>
> <%method title> Network Engineering and Operations </%method>


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to