On Sun, Nov 16, 2008 at 6:15 PM, alinome.net <[EMAIL PROTECTED]> wrote:
>
> I have discovered the preview function adds two horizontal lines:
>
> return BOLTescape(BOLTtemplatemarkup("----\n$preview\n----",
> $pageLink));
>
> I didn't realized before because <hr> was hidden by my CSS. I suggest
> to remove them and use <div> instead:
>
> return BOLTescape(BOLTtemplatemarkup("<div id='boltwirepreview'>\n
> $preview\n</div>", $pageLink));
>
> This way there is no hardcoded XHTML in the core and the user can
> control the look of the preview. In fact a default style should be
> added to the default style page, something like the following:
>
> div#boltwirepreview {
> border: 2px dotted orange;
> padding:.5em;
> margin: 1em 0 ;
> }
Excellent suggestion. Will do!
> By the way, I also suggest, for future versions, to rename all
> BoltWire's CSS id's and classes (box, code, stripe, rss, marks,
> hotlinks, message, diff...) with a common prefix, "boltwire" or "bw"
> or "bolt". I had no problem yet, but that change would avoid possible
> coincidences, when creating designs, especially when adapting existing
> ones. That would save work.
A very good suggestion, except this would be a big project involving
lots of snooping to find them all and possible problems for existing
installations. I think perhaps we may hold off on this for now and
tackle at a later date if the need is more compelling. I see your
point and agree, just not sure I'm ready to do this just yet.
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
-~----------~----~----~----~------~----~------~--~---