Re: Table control [stripes=none] seems to be ignored

Posted by mojavelinux on
URL: https://discuss.asciidoctor.org/Table-control-stripes-none-seems-to-be-ignored-tp8223p8260.html

You're using a custom stylesheet and are missing the CSS rule(s) that control the stripping. If you examine the HTML, you will see that the CSS classes are present.

<table class="tableblock frame-none grid-none stripes-none stretch">

Here are the CSS rules you need:

https://github.com/asciidoctor/asciidoctor/blob/master/data/stylesheets/asciidoctor-default.css#L269

Also make sure that stripes are not added by any other rule.

Best Regards,

-Dan


On Wed, Sep 16, 2020 at 2:58 AM Tobi [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Here's the output: http://81.27.174.50/also/ids_installation.html
The first two screenshots and the text below are in a 2x2 table. Second line is striped, but should not be striped.

AsciiDoc code for the table is:
[cols="1,1"]
[frame=none]
[grid=none]
[stripes=none]
|===
|image:assets/en_startup_wizard_complete_link.png[width=400]|image:assets/en_ids_wizard_link.png[width=400]
|If you are still on the Startup wizard result page from the last step|From the _Help_ menu on the _Wizards_ page
|===

I'm running Asciidoctor 2.0.10 on a Windows 10 machine under ruby 2.6.1p33


If you reply to this email, your message will be added to the discussion below:
https://discuss.asciidoctor.org/Table-control-stripes-none-seems-to-be-ignored-tp8223p8259.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML


--
Dan Allen (he, him, his) | @mojavelinux | https://twitter.com/mojavelinux