On 29-Jan-2010, at 19:20, John C. Welch wrote:
> 
> The important fact that you are missing here is that once you have a
> stylesheet, in this kind of an application, it is effectively impossible for
> you to lock it down. If the only options are in the UI, not some hidden text
> file, it requires some serious plugin mojo to override that. Your way turns
> into an overcomplicated blinding pink and complex CSS layout with relatively
> trivial effort.

I agree that the idea of locking down a style sheet is ludicrous; however, the 
idea of using a stylesheet that is configurable AND that ties in to the GUI 
formatting buttons is an interesting one.

Provide a default stylesheet, by all means. Of course, it has to be accessible 
to the user to change it. This style sheet gets included in the HTML messages 
that are sent out.

I see no reason not to support CSS3 in this, so if I want to do something like 
define my h3 header to have a transparent background color and rounded edges, 
well, I can.

You can't give people tools and not trust them to use them, or worry about how 
they will use them in ways you don't like.

body { background-color: rgb(0,0,33); }

h3 { background-color: rgba(255,0,0,0.25);
     color: white; 
     margin: auto; 
     -webkit-border-radius: 5px; 
     border: 1px solid black; 
     padding: 0.5em; width: 33%
}
p { margin: 2em auto 0 auto; 
    width: 70%; 
    color: #ddd; 
    text-indent: −1em;
}

Where h3 is accessible from the 'add heading' menu item and p is 'body text' or 
somesuch. The stylesheet defines the actual appearance of what is shown right 
there in the editor, and what is seen on the other end.

As long as Letters lets me control which properties are honored, let's me view 
the message with my own stylesheet OR the original stylesheet, or in a well 
formatted plain text or HTML->Plain Text->Markdown->HTML or whatever, then it's 
all fine.

-- 
GARLIC GUM IS NOT FUNNY
        Bart chalkboard Ep. 7G13

_______________________________________________
[email protected] mailing list
List help: http://lists.ranchero.com/listinfo.cgi/email-init-ranchero.com

Reply via email to