Re: [fossil-users] [PATCH] Tag in HTML generated from Markdown

Mon, 22 Sep 2014 15:10:25 -0700

On 9/22/2014 13:22, Joe Mistachkin wrote:

Warren Young wrote:

This allows such tables to be styled differently than all the other uses
of <table> in Fossil UI, such as the Timeline view.


I'm not an expert on CSS; however, would it be better to wrap the markdown
HTML output in a <div> of the "markdown" class so that the look-and-feel of
all elements within it could be customized?

That would work, too, as long as Fossil doesn't generate any table-based layout within that <div>. That is, it only uses <table> for its originally-intended semantic purpose.

The CSS just changes from:

    table.markdown    {  ...  }
    table.markdown td {  ...  }

with my proposal to the following with yours:

    div.markdown table {  ...  }
    div.markdown td    {  ...  }
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to