HTML strike is not displayed correct in PDF

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

User avatar
dvanhussel
Ebase User
Posts: 161
Joined: Fri Oct 19, 2007 12:45 pm
Location: Haarlem, the Netherlands

HTML strike is not displayed correct in PDF

#1

Postby dvanhussel » Fri Sep 02, 2016 10:10 am

Hi,

In a form I use

Code: Select all

<strike>Some text</strike>
to add some emphasis that an option is not selected. In the browser this is displayed as expected.

But when a PDF is generated, the line of the strike through is rendered almost above each line of text instead of centered through the text.

Is this something I can fix or is it a bug in Ebase?

Regards,

David
0 x

Steve
Moderator
Moderator
Posts: 421
Joined: Fri Sep 07, 2007 3:44 pm
Location: Sandy, UK
Contact:

#2

Postby Steve » Fri Sep 02, 2016 1:35 pm

Hi,

I tested your code below and my line does go through the center of the text as I would expect on both the browser and the PDF.

The strike HTML element is now deprecated.

Have you tried applying the CSS style:

text-decoration: line-through;

I have tested this also and both the browser and PDF render the strike-through.

Kind regards

Steve
0 x


Who is online

Users browsing this forum: No registered users and 2 guests