On 11/02/13 09:34, David Favor wrote: > [width="80%",cols="1^,2<"] > |=================================== > |image:foo.png[foo] > |Some long text... > |=================================== > > I've combed through the user guide and tried all sorts of experiments > using [yellow-background] different places and other forms of color > setting. > > Someone let me know the magic syntax to set the background color > of all cells in a table.
Quoted text attributes only apply to quoted text and only for HTML outputs (not docbook) http://asciidoc.org/userguide.html#X51 To change the background of all cells you could defined a 'role' attribute value 'yellow-background' which sets a class attribute on the HTML output e.g. role="yellow-background",width="80%",cols="1^,2<"] |=================================== |image:foo.png[foo] |Some long text... |=================================== Define the style in a custom stylesheet e.g. div.tableblock.yellow-background table { background-color: yellow; } Compile with e.g. asciidoc -a stylesheet=mystyles.css mydoc.txt If you want this to work with DocBook generated outputs you need to customize the XSLT stylesheets (a much harder task). Cheers, Stuart > > Thanks. > > -- > You received this message because you are subscribed to the Google > Groups "asciidoc" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/asciidoc?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/asciidoc?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
