Table control [stripes=none] seems to be ignored

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Table control [stripes=none] seems to be ignored

Tobi
I've generated an HTML page from an ADOC file with asciidoctor 2.0.10.
I've used the table style control [stripes=none].
It is considered in the HTML output like this: However, the second table row is still highlighted in the browser.

Is there any fault on my side or is it a bug?

How can I edit the HTML output that the even table rows are also displayed w/o background?

Thank you!
Reply | Threaded
Open this post in threaded view
|

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

mojavelinux
Administrator
The stripes attribute has been supported since Asciidoctor 2.0.0. See https://asciidoctor.org/docs/user-manual/#striping

If you believe you've found a bug, please submit a sample AsciiDoc document and a screenshot that shows the output you are seeing. Also, please explain how (and where) you're running Asciidoctor.

Best Regards,

-Dan

On Fri, Sep 4, 2020 at 3:48 AM Tobi [via Asciidoctor :: Discussion] <[hidden email]> wrote:
I've generated an HTML page from an ADOC file with asciidoctor 2.0.10.
I've used the table style control [stripes=none].
It is considered in the HTML output like this:
However, the second table row is still highlighted in the browser.

Is there any fault on my side or is it a bug?

How can I edit the HTML output that the even table rows are also displayed w/o background?

Thank you!


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-tp8223.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
Reply | Threaded
Open this post in threaded view
|

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

Tobi
In reply to this post by Tobi
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
Reply | Threaded
Open this post in threaded view
|

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

mojavelinux
Administrator
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">


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