Right, But part of the point of css is to get away from the evil dreadnaut of using tables to format pages... or at least if you believe the propagada you get from any css book or website. And I like the idea that I can rearrange my pages, for the most part, without tearing apart html and recoding it. With a little thought and some work with divs and spans, you can have all kinds of fun.
BTW, the multiple css references stems from when I had each component calling its own file, but that didn't seem to work... though it could have been a complication of the tag closing issue I was having... though I'm still not sure if all the components should have their own headers and bodies, ie: be complete and correct html documents, or should just be only the needed code and assume the highest level doc has the proper structure. Thanks, Jimbus > ----- Original Message ----- > From: "Doug Dawson" <[EMAIL PROTECTED]> > To: "Jim Babcock" <[EMAIL PROTECTED]> > Subject: Re: [Mason] newbie question2: Does Mason play nicely with CSS > positioning? > Date: Tue, 28 Feb 2006 15:55:39 -0600 > > > Here is how I understand Mason (which may be wrong; more experience > people, jump on in): > > You shouldn't need all those style sheets, unless you really want them. > One sheet can be used by all your "chunks" because the CSS stuff is used > after Mason has assembled the HTML and delievered it to the client. > > So, my autohandlers tend to look like this: > > ================= > <& header.html &> > <& navigation.html &> > <table border="0" cellpadding="0" cellspacing="0" width="700"> > <tr> > <!-- Main Content --> > <td width="520" valign="top"> > % $m->call_next; > </td> > <td width="25"><img src="/images/spacer.gif" width="25" > height="1"></td> > <!-- Side Bar --> > <td width="155" valign="top"> > <& side_bar.html &> > </td> > </tr> > </table> > <& footer.html &> > ================= > > My header contains my opening HTML tags, META tags, stylesheet link, > title, etc. Then, I have a navigation "chunk" that contains only a table > with some images with links. > > I start a content table that will be reused on all the pages and do the > call_next method. > > Then, there is a side_bar page with just a table and some banners. > Finally, the footer contains copyright info and my closing HTML tags. > > Each page of content then created by chaining index files from > subfolders with partial HTML in them with the autohandler and the other > components. > > Now, when I edit these components in Dreamweaver individually, I can't > see the styles, so I temporaily link to the stylesheet for editing and > then remove the link later. > > Does that help at all? > > Jim Babcock wrote: > > > > 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> > > > > -- > > ___________________________________________________ > > Play 100s of games for FREE! http://games.mail.com/ > > > > ------------------------------------------------------- > > 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&kid0944&bid$1720&dat1642 > > _______________________________________________ > > Mason-users mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/mason-users > > -- > Doug Dawson > Application Developer > Physicians Mutual Insurance Company > (402) 930-2432 > > UNIX is user friendly, it's just picky about who its friends are. > > > > ____________________________________________________________ > This message and any attachments are confidential, may contain > privileged information, and are intended solely for the recipient > named above. If you are not the intended recipient, or a person > responsible for delivery to the named recipient, you are notified > that any review, distribution, dissemination or copying is > prohibited. If you have received this message in error, you should > notify the sender by return email and delete the message from your > computer system. > -- ___________________________________________________ Play 100s of games for FREE! http://games.mail.com/ ------------------------------------------------------- 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&kid0944&bid$1720&dat1642 _______________________________________________ Mason-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mason-users

