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));

No need for the \n's here is there if we are going css?

> 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 ;
> }

Hey looks good, but I decided to go with a class, as it would give the
developer more options.  I also had to tap it into the code function
for code pages or you get a mess.  But I definitely LIKE it!

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
-~----------~----~----~----~------~----~------~--~---

Reply via email to