On Sat, Feb 28, 2009 at 9:15 PM, Hans <[email protected]> wrote: > > What i would really like to see is a div markup which is short, > does not need to be necessarily nestable, > but does not need explicit closing either, > so a following div markup will close the preceeding one. > And which takes a parameter as css class name.
I personally prefer to keep this out of the core--in the interest of keeping down arcane looking markups. Most of what I've steered toward in BoltWire are either very simple, intuitive markups, or html-like markups, to ease the learning curve. However it could be added as a plugin easily enough... Perhaps it could be modeled on the BOX markup, which converts <box></box> to <div class=box></div>. I should note however that getting things to close automatically, is not particularly easy... This is one reason BoltWire has closing tags for forms, tables, divs, etc. One of the things I did in this last release was to generalize several of the various styles markups into one. I think, with a line or two more code, we could get colors and alignment tags to run through the same BOLTstyles function. On the other hand, now that I think about it, I see we will have a nesting problem when there is a custom span or paragraph in a custom div... Guess I need to split up the rules after all... For the next release... Cheers, Dan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "BoltWire" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/boltwire?hl=en -~----------~----~----~----~------~----~------~--~---
