RE: class and css
"Christian Cryder" <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.barracuda.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Daniel, Yes, its something of a hack, but the advantage is that it keeps the markup "standard" - we aren't adding anything to it. There are ways around it (ie. putting directives in a separate file and referencing them via ids), but in think in practice most people find it much easier to maintain just to embed them directly in the markup. They don't conflict with other class attributes (ie. whatever Barracuda leaves alone non-directive attributes) so you can (and should!) still manage your page using css. Plus, as Barracuda renders the page all the Barracuda specific directives are stripped out as they are processed, meaning the final page that gets sent to the browser won't contain them. That help at all? Christian ---------------------------------------------- Christian Cryder Internet Architect, ATMReports.com Project Chair, BarracudaMVC - http://barracudamvc.org ---------------------------------------------- "Coffee? I could quit anytime, just not today" > -----Original Message----- > From: [email protected] > [mailto:[email protected]]On Behalf Of Daniel Frey > Sent: Thursday, November 20, 2003 6:57 PM > To: [email protected] > Subject: [Barracuda] class and css > > > Hi there > > I am a newcommer to barracuda and have studied the docs and tuts about 5 > hours now. I think you have done a great job, however, something strikes > me: you use class attributes in BTemplate to define context to be replaced > dynamically. I would like to have a class attribute for making the html > elements manageable by css. To my sense, there is a slight misuse of the > standard class attribute, why not using a bclass attribute or something > alike, in order to keep the standard class attributes meaning? > > Thanks for your answer (and patience) > > Daniel >