How to avoid HTML Table breaks the page in the mobile devices? - html-table

I am working with the HTML table, it works perfectly on the computer. But when I am loading it on the mobile the page getting break I mean the width of the page is increasing for adjusting the table columns. You can see the issue on this https://teluguhitflopmovieslist.blogspot.com/2019/06/Sneha-Movies-List-Hits-Flops-Blockbusters-Average-Box-Office-Verdict.html run this in mobile. I want table shouldn't increase the width of the page. For example, you see the Wikipedia tables in mobile https://en.wikipedia.org/wiki/Sneha_(actress)#Filmography in this table not breaking the page this is what I am looking for. Sorry, I tried my best to convey the issue, if you have a solution please help.
<table border="2" class="wikitable sortable">
<tbody>
<tr align="center" bgcolor="#CCCCCC">
<th>Year
</th>
<th>Film
</th>
<th>Role
</th>
<th>Language
</th>
<th>Notes
</th></tr>
<tr>
<td rowspan="2">2000</td>
<td><i>Ingane Oru Nilapakshi</i></td>
<td>Manasi</td>
<td>Malayalam</td>
<td></td></tr>
<tr>
<td><i>Ennavale</i></td>
<td>Lakshmi</td>
<td>Tamil</td>
<td></td></tr>
<tr>
<td rowspan="6">2001</td>
<td><i>Tholi Valapu</i></td>
<td>Soumya</td>
<td>Telugu</td>
<td></td></tr>
<tr>
<td><i>Aanandham</i></td>
<td>Viji</td>
<td rowspan="2">Tamil</td>
<td></td></tr>
<tr>
<td><i>Kannathil Muthamittal</i></td>
<td>Indira</td>
<td></td></tr>
<tr>
<td><i>Priyamaina Neeku</i>/<i><a class="mw-redirect" href="https://www.blogger.com/wiki/Kadhal_Sugamanathu" title="Kadhal Sugamanathu">Kadhal Sugamanathu</a></i></td>
<td>Sandhya</td>
<td>Telugu <br />
Tamil</td>
<td></td></tr>
<tr>
<td><i>Paarthale Paravasam</i></td>
<td>Chella</td>
<td>Tamil</td>
<td></td></tr>
<tr>
<td><i>Hanuman Junction</i></td>
<td>Meenkashi</td>
<td>Telugu</td>
<td></td></tr>
<tr>
<td rowspan="7">2002</td>
<td><i>Pammal K. Sambandam</i></td>
<td>Malathi Anand</td>
<td rowspan="14">Tamil</td>
<td></td></tr>
<tr>
<td><i>Punnagai Desam</i></td>
<td>Priya</td>
<td>Tamil Nadu State Film Award for Best Actress
</td></tr>
<tr>
<td><i>Unnai Ninaithu</i></td>
<td>Radha</td>
<td>Filmfare Award for Best Supporting Actress – Tamil
</td></tr>
<tr>
<td><i>Yai! Nee Romba Azhaga Irukke!</i></td>
<td>Raji</td>
<td></td></tr>
<tr>
<td><i>King</i></td>
<td>Tamil</td>
<td></td></tr>
<tr>
<td><i><a class="mw-redirect" href="https://www.blogger.com/wiki/April_Madhathil" title="April Madhathil">April Madhathil</a></i></td>
<td>Swetha</td>
<td>Nominated, Filmfare Award for Best Actress – Tamil
</td></tr>
<tr>
<td><i>Virumbugiren</i></td>
<td>Thavamani</td>
<td>Tamil Nadu State Film Award for Best Actress<br />
Nominated – Filmfare Award for Best Actress – Tamil
</td></tr>
<tr>
<td rowspan="2">2003</td>
<td><i>Vaseegara</i></td>
<td>Priya Vishwanathan</td>
<td></td></tr>
<tr>
<td><i>Parthiban Kanavu</i></td>
<td>Sathya,Janani</td>
<td>Nominated – Filmfare Award for Best Actress – Tamil
</td></tr>
<tr>
<td rowspan="6">2004</td>
<td><i>Vasool Raja MBBS</i></td>
<td>Janaki Vishwanathan</td>
<td></td></tr>
<tr>
<td><i>Jana</i></td>
<td>Manimegalai</td>
<td></td></tr>
<tr>
<td><i>Bose</i></td>
<td>Charu</td>
<td></td></tr>
<tr>
<td><i>Autograph</i></td>
<td>Divya</td>
<td>Nominated – Filmfare Award for Best Actress – Tamil
</td></tr>
<tr>
<td><i>Adhu</i></td>
<td>Meera</td>
<td></td></tr>
<tr>
<td><i>Venky</i></td>
<td>Sravani</td>
<td>Telugu</td>
<td></td></tr>
<tr>
<td rowspan="6">2005</td>
<td><i>Aayudham</i></td>
<td>Maha</td>
<td>Tamil</td>
<td></td></tr>
<tr>
<td><i><a class="mw-redirect" href="https://www.blogger.com/wiki/Sankranthi_(film)" title="Sankranthi (film)">Sankranthi</a></i></td>
<td>Anjali</td>
<td rowspan="2">Telugu</td>
<td></td></tr>
<tr>
<td><i>Radha Gopalam</i></td>
<td>Radha</td>
<td>Nandi Special Jury Award
</td></tr>
<tr>
<td><i>Chinna</i></td>
<td>Gayathri Vikram</td>
<td rowspan="2">Tamil</td>
<td></td></tr>
<tr>
<td><i>ABCD</i></td>
<td>Chandra</td>
<td></td></tr>
<tr>
<td><i><a class="mw-redirect" href="https://www.blogger.com/wiki/That_is_Pandu" title="That is Pandu">That is Pandu</a></i></td>
<td>Anjali</td>
<td rowspan="3">Telugu</td>
<td></td></tr>
<tr>
<td rowspan="6">2006</td>
<td><i>Sri Ramadasu</i></td>
<td>Kamala</td>
<td></td></tr>
<tr>
<td><i>Evandoi Srivaru</i></td>
<td>Divya</td>
<td></td></tr>
<tr>
<td><i>Thuruppu Gulan</i></td>
<td>Lakshmi</td>
<td>Malayalam</td>
<td></td></tr>
<tr>
<td><i>Pudhupettai</i></td>
<td>Krishnaveni</td>
<td>Tamil</td>
<td>Nominated – Filmfare Award for Best Actress – Tamil
</td></tr>
<tr>
<td><i><a class="mw-redirect" href="https://www.blogger.com/wiki/Ravi_Shastri_(film)" title="Ravi Shastri (film)">Ravi Shastri</a></i></td>
<td>Bhanu</td>
<td><a class="mw-redirect" href="https://www.blogger.com/wiki/Kannada_language" title="Kannada language">Kannada</a></td>
<td></td></tr>
<tr>
<td><i>Manasu Palike Mouna Raagam</i></td>
<td>Gowri</td>
<td rowspan="3">Telugu</td>
<td></td></tr>
<tr>
<td rowspan="4">2007</td>
<td><i><a class="mw-redirect" href="https://www.blogger.com/wiki/Maharadhi" title="Maharadhi">Maharadhi</a></i></td>
<td>Bhairavi</td>
<td></td></tr>
<tr>
<td><i>Madhumasam</i></td>
<td>Hamsa Vahini</td>
<td></td></tr>
<tr>
<td><i>Naan Avanillai</i></td>
<td>Anjali</td>
<td rowspan="4">Tamil</td>
<td></td></tr>
<tr>
<td><i>Pallikoodam</i></td>
<td>Kokila Vetrivel</td>
<td>Nominated – Filmfare Award for Best Actress – Tamil
</td></tr>
<tr>
<td rowspan="8">2008</td>
<td><i>Pirivom Santhippom</i></td>
<td>Visalakshi Nadesan</td>
<td>Tamil Nadu State Film Award for Best Actress <br />
Vijay Award for Best Actress<br />
Nominated—Vijay Award for Favourite Heroine<br />
Nominated – Filmfare Award for Best Actress – Tamil
</td></tr>
<tr>
<td><i>Inba</i></td>
<td>Priya</td>
<td></td></tr>
<tr>
<td><i>Nee Sukhame Ne Korukunna</i></td>
<td>Swapna</td>
<td>Telugu</td>
<td></td></tr>
<tr>
<td><i>Pandi</i></td>
<td>Bhuvana</td>
<td>Tamil</td>
<td></td></tr>
<tr>
<td><i><a class="mw-redirect" href="https://www.blogger.com/wiki/Panduranga_(film)" title="Panduranga (film)">Pandurangadu</a></i></td>
<td>Lakshmi</td>
<td>Telugu</td>
<td></td></tr>
<tr>
<td><i>Kuselan/Kathanayakudu</i></td>
<td>Herself</td>
<td>Tamil<br />
Telugu</td>
<td>Cameo appearance in the song 'Cinema Cinema'
</td></tr>
<tr>
<td><i>Adivishnu</i></td>
<td>Anjali</td>
<td>Telugu</td>
<td></td></tr>
<tr>
<td><i>Silambattam</i></td>
<td>Gayathri</td>
<td>Tamil</td>
<td></td></tr>
<tr>
<td rowspan="2">2009</td>
<td><i>Achchamundu! Achchamundu!</i></td>
<td>Malini Kumar</td>
<td>Tamil</td>
<td>Edison Award for Best Actress<br />
Nominated – Filmfare Award for Best Actress – Tamil
</td></tr>
<tr>
<td><i>Amaravathi</i></td>
<td>Latha Venkat</td>
<td>Telugu</td>
<td></td></tr>
<tr>
<td rowspan="6">2010</td>
<td><i>Goa</i></td>
<td>Suhasini Fernando</td>
<td rowspan="3">Tamil</td>
<td></td></tr>
<tr>
<td><i>Theeradha Vilaiyattu Pillai</i></td>
<td>Dr. Ramya</td>
<td>Cameo appearance
</td></tr>
<tr>
<td><i><a class="mw-redirect" href="https://www.blogger.com/wiki/Angaadi_Theru" title="Angaadi Theru">Angaadi Theru</a></i></td>
<td>Herself</td>
<td>Cameo appearance
</td></tr>
<tr>
<td><i><a class="mw-redirect" href="https://www.blogger.com/wiki/Pramaani" title="Pramaani">Pramaani</a></i></td>
<td>Janaki</td>
<td rowspan="2">Malayalam</td>
<td></td></tr>
<tr>
<td><i><a class="mw-redirect" href="https://www.blogger.com/wiki/Shikkar,_The_Hunt" title="Shikkar, The Hunt">Shikkar, The Hunt</a></i></td>
<td>Kaveri</td>
<td></td></tr>
<tr>
<td><i>Vandae Maatharam</i></td>
<td>Nandhini</td>
<td>Malayalam<br />
Tamil</td>
<td></td></tr>
<tr>
<td rowspan="3">2011</td>
<td><i>Bhavani IPS</i></td>
<td>Bhavani</td>
<td rowspan="2">Tamil</td>
<td></td></tr>
<tr>
<td><i>Ponnar Shankar</i></td>
<td>Arukkaani</td>
<td></td></tr>
<tr>
<td><i>Rajanna</i></td>
<td>Lachamma</td>
<td>Telugu</td>
<td></td></tr>
<tr>
<td rowspan="2">2012</td>
<td><i>Oru Kal Oru Kannadi</i></td>
<td>Jennifer</td>
<td rowspan="5">Tamil</td>
<td>Guest appearance
</td></tr>
<tr>
<td><i>Murattu Kaalai</i></td>
<td>Bhuvana</td>
<td></td></tr>
<tr>
<td>2013</td>
<td><i>Haridas</i></td>
<td>Amudhavalli</td>
<td>Nominated – Filmfare Award for Best Actress – Tamil <br />
Nominated—Vijay Award for Best Actress
</td></tr>
<tr>
<td rowspan="4">2014</td>
<td><i>Pannaiyarum Padminiyum</i></td>
<td>Shanmugam's daughter</td>
<td>Special appearance
</td></tr>
<tr>
<td><i>Un Samayal Arayil</i></td>
<td rowspan="3">Gowri</td>
<td></td></tr>
<tr>
<td><i><a class="mw-redirect" href="https://www.blogger.com/wiki/Ulavacharu_Biryani" title="Ulavacharu Biryani">Ulavacharu Biryani</a></i></td>
<td>Telugu</td>
<td></td></tr>
<tr>
<td><i>Oggarane</i></td>
<td>Kannada</td>
<td></td></tr>
<tr>
<td rowspan="3">2015</td>
<td><i>S/O Satyamurthy</i></td>
<td>Lakshmi</td>
<td>Telugu</td>
<td>Nominated -SIIMA Award for Best Supporting Actress
</td></tr>
<tr>
<td><i>JK Enum Nanbanin Vaazhkai/Rajadhi Raja</i></td>
<td>Herself</td>
<td>Tamil<br />
Telugu</td>
<td>Cameo appearance
</td></tr>
<tr>
<td><i>Kaaval</i></td>
<td>Herself</td>
<td>Tamil</td>
<td>Cameo appearance
</td></tr>
<tr>
<td>2016</td>
<td><i>Ore Mukham</i></td>
<td>Bhama</td>
<td rowspan="2">Malayalam</td>
<td></td></tr>
<tr>
<td rowspan="2">2017</td>
<td><i>The Great Father</i></td>
<td>Michelle David</td>
<td></td></tr>
<tr>
<td><i>Velaikkaran</i></td>
<td>Kasthuri</td>
<td>Tamil</td>
<td>Nominated - SIIMA Award for Best Supporting Actress
</td></tr>
<tr>
<td rowspan="4">2019</td>
<td><i>Vinaya Vidheya Rama</i></td>
<td>Konidela Gayatri Devi</td>
<td>Telugu</td>
<td></td></tr>
<tr>
<td><i><a class="mw-redirect" href="https://www.blogger.com/wiki/Muniratna_Kurukshetra" title="Muniratna Kurukshetra">Muniratna Kurukshetra</a></i></td>
<td>Draupadi</td>
<td>Kannada</td>
<td>Post-production
</td></tr>
<tr>
<td>Untitled film with Dhanush</td>
<td>TBA</td>
<td rowspan="2">Tamil</td>
<td rowspan="2">Filming
</td></tr>
<tr>
<td><i>Vaan</i></td>
<td>TBA
</td></tr>
</tbody></table>
<h2>
<span class="mw-headline" id="Television">Television</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span>edit<span class="mw-editsection-bracket">]</span></span></h2>
<table class="wikitable sortable">
<tbody>
<tr align="center" bgcolor="#CCCCCC">
<th>Year
</th>
<th>Program
</th>
<th>Role
</th>
<th>Channel
</th>
<th>Language
</th>
<th>Notes
</th></tr>
<tr>
<td>2013–2014</td>
<td><i>Melam Kottu Thali Kattu</i></td>
<td rowspan="2">Host</td>
<td rowspan="2">Puthuyugam TV</td>
<td rowspan="7">Tamil</td>
<td></td></tr>
<tr>
<td>2014</td>
<td><i>Melam Kottu Thali Kattu season 2</i></td>
<td></td></tr>
<tr>
<td>2016–2017</td>
<td><i>Dance Jodi Dance</i></td>
<td rowspan="5">Judge</td>
<td rowspan="5">Zee Tamil</td>
<td></td></tr>
<tr>
<td rowspan="2">2017</td>
<td><i>Dancing Khilladies</i></td>
<td></td></tr>
<tr>
<td><i>Zee Dance League</i></td>
<td></td></tr>
<tr>
<td>2017–2018</td>
<td><i>Dance Jodi Dance 2.0</i></td>
<td></td></tr>
<tr>
<td>2019-Present</td>
<td><i>Dance Jodi Dance Juniors</i></td>
<td></td></tr>
</tbody></table>

Making <table>s responsive is a bit tricky, but there are several patterns available that you can utilize. CSS-Tricks has a great article which explores the most common ones and explains pros & cons of each strategy.
https://css-tricks.com/accessible-simple-responsive-tables/

Try this, set media query for mobile devices as you have to decrease the font-size for the text on smaller devices.
#include media-breakpoint-down(sm) {
.wikitable{
font-size: 10px;
}
}
or
#media (max-width: 575.98px) {
.wikitable {
font-size: 10px;
}
}

Related

WebSupergoo.ABCpdf10 exception "Illegal characters in path"

I am trying to re-build an old .NET Visual Basic application I have inherited that uses WebSupergoo.ABCpdf10 (ABCpdf, Version=10.1.2.5). I am getting an exception "Illegal characters in path", ultimately thrown by the method System.IO.Path.CheckInvalidPathChars. However, this is called by the external code, so I have little control over it. The stack trace is as follows:
[ArgumentException: Illegal characters in path.]
System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional) +12831187
System.IO.Path.Combine(String path1, String path2) +34
WebSupergoo.ABCpdf10.Internal.Gecko.GeckoRpc.GetABCGeckoPath(String currLoc, String installDir) +378
WebSupergoo.ABCpdf10.Internal.Gecko.WorkerPool.AddRef(HtmlManagedOptions managedOptions) +332
WebSupergoo.ABCpdf10.Internal.Gecko.AddUrlProgress.Start(Boolean readAsync) +91
WebSupergoo.ABCpdf10.Internal.Gecko.DocAddGecko.AddUrl(String url) +1260
WebSupergoo.ABCpdf10.Internal.Gecko.DocAddGecko.AddHtml(String html) +290
WebSupergoo.ABCpdf10.Doc.AddUrlHtml(String urlOrHtml, Boolean isHtml, Boolean paged, Int32 width, Boolean disableCache) +251
WebSupergoo.ABCpdf10.Doc.AddImageHtml(String html, Boolean paged, Int32 width, Boolean disableCache) +49
GI.Platform.Core.Business.PdfDocument.AddHtml(String html, Int32 browserWidth, PageOrientation pageOrientation, Boolean paged) in C:\Users\MartinVaughan\Documents\Development\GI Platform\original-platform\GI.Platform.Core\Business\PDFDocument.vb:168
GI.Platform.UI.Legacy.UserControls.Admin.ReportGeneration.btnGPIBasicReportPdf_Click(Object sender, EventArgs e) in C:\Users\MartinVaughan\Documents\Development\GI Platform\original-platform\GI.Platform.UI\UserControls\Admin\ManageRegistration\ReportGeneration.ascx.vb:234
System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) +121
System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +108
System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +12
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +15
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +9859004
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1696
The method GI.Platform.Core.Business.PdfDocument.AddHtml is ours and passes an HTML-formatted string. Thereafter, the methods are external (part of the WebSupergoo package). Our method calls AddImageHtml, which appears to call AddUrlHtml.
I have stripped all URLs out of the HTML string (as I thought this might be the problem). I have also stripped out any characters I thought might be dubious. The HTML string is now (indentation added here for readability):
<html>
<head>
</head>
<body>
<table cellpadding='5' cellspacing='0' border='0' width='100%'>
<tr>
<td rowspan='3' width='350'></td>
<td class='titleCell'>GPI™ Datasheet</td>
</tr>
<tr>
<td class='nameCell'>User Name</td>
</tr>
<tr>
<td class='dateCell'>Generated on 13/09/2022</td>
</tr>
</table>
<br />
<table cellpadding='0' cellspacing='0' border='0' width='90%' class='data' align='center'>
<tr class='header'>
<th class='centerAlign'>Dimension/Sub-Dimension</th>
<th class='centerAlign'>Type</th>
<th class='centerAlign'>Rank</th>
</tr>
<tr class='dimension'>
<th class='leftAlign'>
<b>Incremental - Radical</b>
</th>
<th class='leftAlign'>
<b>Incremental</b>
</th>
<th class='centerAlign'>
<b>3</b>
</th>
</tr>
<tr>
<td class='leftAlign'>Evolutionary - Revolutionary</td>
<td class='leftAlign'>Evolutionary</td>
<td class='centerAlign'>2</td>
</tr>
<tr>
<td class='leftAlign'>Practical - Conceptual</td>
<td class='leftAlign'>Practical</td>
<td class='centerAlign'>3</td>
</tr>
<tr>
<td class='leftAlign'>Rational - Intuitive</td>
<td class='leftAlign'>Rational</td>
<td class='centerAlign'>4</td>
</tr>
<tr class='dimension'>
<th class='leftAlign'>
<b>Focused - Flexible</b>
</th>
<th class='leftAlign'>
<b>Focused</b>
</th>
<th class='centerAlign'>
<b>4</b>
</th>
</tr>
<tr>
<td class='leftAlign'>Outcome - Spontaneous</td>
<td class='leftAlign'>Outcome</td>
<td class='centerAlign'>4</td>
</tr>
<tr>
<td class='leftAlign'>Conscientious - Cursory</td>
<td class='leftAlign'>Conscientious</td>
<td class='centerAlign'>5</td>
</tr>
<tr>
<td class='leftAlign'>Perfectionist - Pragmatic</td>
<td class='leftAlign'>Perfectionist</td>
<td class='centerAlign'>2</td>
</tr>
<tr class='dimension'>
<th class='leftAlign'>
<b>Extraversion - Introversion</b>
</th>
<th class='leftAlign'>
<b>Introversion</b>
</th>
<th class='centerAlign'>
<b>3</b>
</th>
</tr>
<tr>
<td class='leftAlign'>Outgoing - Reserved</td>
<td class='leftAlign'>Reserved</td>
<td class='centerAlign'>5</td>
</tr>
<tr>
<td class='leftAlign'>Asserting - Accepting</td>
<td class='leftAlign'>Accepting</td>
<td class='centerAlign'>1</td>
</tr>
<tr>
<td class='leftAlign'>Fun Loving - Serious-Minded</td>
<td class='leftAlign'>Serious-Minded</td>
<td class='centerAlign'>5</td>
</tr>
<tr>
<td class='leftAlign'>Socially Assured - Socially Uncertain</td>
<td class='leftAlign'>Socially Uncertain</td>
<td class='centerAlign'>2</td>
</tr>
<tr class='dimension'>
<th class='leftAlign'>
<b>Collectivist - Individualist</b>
</th>
<th class='leftAlign'>
<b>Individualist</b>
</th>
<th class='centerAlign'>
<b>4</b>
</th>
</tr>
<tr>
<td class='leftAlign'>Affiliative - Unaffiliative</td>
<td class='leftAlign'>Unaffiliative</td>
<td class='centerAlign'>5</td>
</tr>
<tr>
<td class='leftAlign'>Trusting - Questioning</td>
<td class='leftAlign'>Questioning</td>
<td class='centerAlign'>3</td>
</tr>
<tr>
<td class='leftAlign'>Conforming - Dissenting</td>
<td class='leftAlign'>Dissenting</td>
<td class='centerAlign'>5</td>
</tr>
<tr>
<td class='leftAlign'>Modest - Assuming</td>
<td class='leftAlign'>Assuming</td>
<td class='centerAlign'>3</td>
</tr>
<tr class='dimension'>
<th class='leftAlign'>
<b>At Ease - Ill-at Ease</b>
</th>
<th class='leftAlign'>
<b>Ill-at Ease</b>
</th>
<th class='centerAlign'>
<b>2</b>
</th>
</tr>
<tr>
<td class='leftAlign'>Relaxed - Tense</td>
<td class='leftAlign'>Tense</td>
<td class='centerAlign'>1</td>
</tr>
<tr>
<td class='leftAlign'>Placid - Discontented</td>
<td class='leftAlign'>Discontented</td>
<td class='centerAlign'>5</td>
</tr>
<tr>
<td class='leftAlign'>Optimistic - Pessimistic</td>
<td class='leftAlign'>Pessimistic</td>
<td class='centerAlign'>3</td>
</tr>
<tr>
<td class='leftAlign'>Confident - Self-Conscious</td>
<td class='leftAlign'>Confident</td>
<td class='centerAlign'>1</td>
</tr>
<tr class='dimension'>
<th class='leftAlign'>
<b>Disciplined - Impulsive</b>
</th>
<th class='leftAlign'>
<b>Disciplined</b>
</th>
<th class='centerAlign'>
<b>3</b>
</th>
</tr>
<tr class='dimension'>
<th class='leftAlign'>
<b>Driving - Measured</b>
</th>
<th class='leftAlign'>
<b>Measured</b>
</th>
<th class='centerAlign'>
<b>1</b>
</th>
</tr>
<tr>
<td class='leftAlign'>Persuasive - Consensual</td>
<td class='leftAlign'>Consensual</td>
<td class='centerAlign'>1</td>
</tr>
<tr>
<td class='leftAlign'>Ambitious - Contented</td>
<td class='leftAlign'>Ambitious</td>
<td class='centerAlign'>2</td>
</tr>
<tr>
<td class='leftAlign'>Energetic - Paced</td>
<td class='leftAlign'>Paced</td>
<td class='centerAlign'>3</td>
</tr>
</table>
<br />
<table cellpadding='0' cellspacing='0' border='0' align='center'>
<tr>
<td class='copyrightCell'>© 2022 Glowinkowski International Limited</td>
</tr>
</table>
</body>
</html>
(Note: I have removed the link to the CSS file and an image with a URL, as I thought these might be creating the problem).
Still getting the exception!
Could anyone throw any light on this?
Edit
Looking at the WebSupergoo documentation at https://www.websupergoo.com/helppdfnet/default.htm?page=source%2f5-abcpdf%2fdoc%2f1-methods%2faddimagehtml.htm they note that:
Using the MSHTML, ABCGecko and ABCWebKit engines, ABCpdf saves this HTML into a temporary file and renders the file using a 'file://' protocol specifier. So this is a convenience function - it doesn't offer any performance enhancements. Sometimes the IIS users do not have full access to the temp directory. This is determined by the system setup you have on your machine. If this is the case you will get errors returned. So if you are working from ASP you may find that you need to enable access to the temp directory for the ASPNET user, the IUSR_MACHINENAME user or the IWAM_MACHINENAME user.
This may be the root cause of the problem, in which case, my question would translate to how do I enable access in my Visual Studio build?.

How do I render numbers like 4999 to $4,999.00 in datatables?

If the data source is from an existed DOM, rather than some JSON variable. How do I convert the numbers like 4999 to $4,999.00 in datatables?
I don't know what kind of options should be passed to the main function.
$('#example').DataTable(
{
// need help on this
}
);
Here is the code:
$(document).ready(function() {
//Only needed for the filename of export files.
//Normally set in the title tag of your page.
document.title='Simple DataTable';
// DataTable initialisation
$('#example').DataTable(
{
}
);
});
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<link href="https://cdn.datatables.net/1.10.12/css/dataTables.bootstrap.min.css" rel="stylesheet"/>
<script src="https://cdn.datatables.net/1.10.12/js/jquery.dataTables.min.js"></script>
<a class="btn btn-success" style="float:left;margin-right:20px;" href="https://codepenio/collection/XKgNLN/" target="_blank">Other examples on Codepen</a>
<table id="example" class="table table-striped table-bordered" cellspacing="0" width="100%">
<thead>
<tr>
<th>Order</th>
<th>Description</th>
<th>Deadline</th>
<th>Status</th>
<th>Amount</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Alphabet puzzle</td>
<td>2016/01/15</td>
<td>Done</td>
<td data-order="1000">1000</td>
</tr>
<tr>
<td>2</td>
<td>Layout for poster</td>
<td>2016/01/31</td>
<td>Planned</td>
<td data-order="1834">1834</td>
</tr>
<tr>
<td>3</td>
<td>Image creation</td>
<td>2016/01/23</td>
<td>To Do</td>
<td data-order="1500">1500</td>
</tr>
<tr>
<td>4</td>
<td>Create font</td>
<td>2016/02/26</td>
<td>Done</td>
<td data-order="1200">1200</td>
</tr>
<tr>
<td>5</td>
<td>Sticker production</td>
<td>2016/02/18</td>
<td>Planned</td>
<td data-order="2100">2100</td>
</tr>
<tr>
<td>6</td>
<td>Glossy poster</td>
<td>2016/03/17</td>
<td>To Do</td>
<td data-order="899">899</td>
</tr>
<tr>
<td>7</td>
<td>Beer label</td>
<td>2016/05/28</td>
<td>Confirmed</td>
<td data-order="2499">2499</td>
</tr>
<tr>
<td>8</td>
<td>Shop sign</td>
<td>2016/04/19</td>
<td>Offer</td>
<td data-order="1099">1099</td>
</tr>
<tr>
<td>9</td>
<td>X-Mas decoration</td>
<td>2016/10/31</td>
<td>Confirmed</td>
<td data-order="1750">1750</td>
</tr>
<tr>
<td>10</td>
<td>Halloween invite</td>
<td>2016/09/12</td>
<td>Planned</td>
<td data-order="400">400</td>
</tr>
<tr>
<td>11</td>
<td>Wedding announcement</td>
<td>2016/07/09</td>
<td>To Do</td>
<td data-order="299">299</td>
</tr>
<tr>
<td>12</td>
<td>Member pasport</td>
<td>2016/06/22</td>
<td>Offer</td>
<td data-order="149">149</td>
</tr>
<tr>
<td>13</td>
<td>Drink tickets</td>
<td>2016/11/01</td>
<td>Confirmed</td>
<td data-order="199">199</td>
</tr>
<tr>
<td>14</td>
<td>Album cover</td>
<td>2017/03/15</td>
<td>To Do</td>
<td data-order="4999">4999</td>
</tr>
<tr>
<td>15</td>
<td>Shipment box</td>
<td>2017/02/08</td>
<td>Offer</td>
<td data-order="1399">1399</td>
</tr>
<tr>
<td>16</td>
<td>Wooden puzzle</td>
<td>2017/01/11</td>
<td>Done</td>
<td data-order="1000">1000</td>
</tr>
<tr>
<td>17</td>
<td>Fashion Layout</td>
<td>2016/01/30</td>
<td>Planned</td>
<td data-order="1834">1834</td>
</tr>
<tr>
<td>18</td>
<td>Toy creation</td>
<td>2016/01/10</td>
<td>To Do</td>
<td data-order="1550">1550</td>
</tr>
<tr>
<td>19</td>
<td>Create stamps</td>
<td>2016/02/26</td>
<td>Done</td>
<td data-order="1220">1220</td>
</tr>
<tr>
<td>20</td>
<td>Sticker design</td>
<td>2017/02/18</td>
<td>Planned</td>
<td data-order="2100">2100</td>
</tr>
<tr>
<td>21</td>
<td>Poster rock concert</td>
<td>2017/04/17</td>
<td>To Do</td>
<td data-order="899">899</td>
</tr>
<tr>
<td>22</td>
<td>Wine label</td>
<td>2017/05/28</td>
<td>Confirmed</td>
<td data-order="2799">2799</td>
</tr>
<tr>
<td>23</td>
<td>Shopping bag</td>
<td>2017/04/19</td>
<td>Offer</td>
<td data-order="1299">1299</td>
</tr>
<tr>
<td>24</td>
<td>Decoration for Easter</td>
<td>2017/10/31</td>
<td>Confirmed</td>
<td data-order="1650">1650</td>
</tr>
<tr>
<td>25</td>
<td>Saint Nicolas colorbook</td>
<td>2017/09/12</td>
<td>Planned</td>
<td data-order="510">510</td>
</tr>
<tr>
<td>26</td>
<td>Wedding invites</td>
<td>2017/07/09</td>
<td>To Do</td>
<td data-order="399">399</td>
</tr>
<tr>
<td>27</td>
<td>Member pasport</td>
<td>2017/06/22</td>
<td>Offer</td>
<td data-order="249">249</td>
</tr>
<tr>
<td>28</td>
<td>Drink tickets</td>
<td>2017/11/01</td>
<td>Confirmed</td>
<td data-order="199">199</td>
</tr>
<tr>
<td>29</td>
<td>Blue-Ray cover</td>
<td>2018/03/15</td>
<td>To Do</td>
<td data-order="1999">1999</td>
</tr>
<tr>
<td>30</td>
<td>TV carton</td>
<td>2019/02/08</td>
<td>Offer</td>
<td data-order="1369">1369</td>
</tr>
</tbody>
</table>
You can use the createdCell() callback, inside DataTables' columnDefs initializazion option.
Inside the callback, you have access to the <td> element of the created cell and to its data, so you can manipulate both in the way that you prefer.
In this fiddle I changed the shown data format using the Intl.NumberFormat() api:
$(document).ready(function() {
// Only needed for the filename of export files.
// Normally set in the title tag of your page.
document.title = 'Simple DataTable';
// DataTable initialisation
$('#example').DataTable({
columnDefs: [{
targets: 4, // <-- this is the target column
createdCell: function(cell, cellData, rowData, rowIndex, colIndex) {
const formattedContent = new Intl.NumberFormat('en-US', {
style: 'currency',
currency: 'USD'
}).format(cellData);
cell.innerHTML = formattedContent;
},
}]
});
});
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<link href="https://cdn.datatables.net/1.10.12/css/dataTables.bootstrap.min.css" rel="stylesheet" />
<script src="https://cdn.datatables.net/1.10.12/js/jquery.dataTables.min.js"></script>
<a class="btn btn-success" style="float:left;margin-right:20px;" href="https://codepenio/collection/XKgNLN/" target="_blank">Other examples on Codepen</a>
<table id="example" class="table table-striped table-bordered" cellspacing="0" width="100%">
<thead>
<tr>
<th>Order</th>
<th>Description</th>
<th>Deadline</th>
<th>Status</th>
<th>Amount</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Alphabet puzzle</td>
<td>2016/01/15</td>
<td>Done</td>
<td data-order="1000">1000</td>
</tr>
<tr>
<td>2</td>
<td>Layout for poster</td>
<td>2016/01/31</td>
<td>Planned</td>
<td data-order="1834">1834</td>
</tr>
<tr>
<td>3</td>
<td>Image creation</td>
<td>2016/01/23</td>
<td>To Do</td>
<td data-order="1500">1500</td>
</tr>
<tr>
<td>4</td>
<td>Create font</td>
<td>2016/02/26</td>
<td>Done</td>
<td data-order="1200">1200</td>
</tr>
<tr>
<td>5</td>
<td>Sticker production</td>
<td>2016/02/18</td>
<td>Planned</td>
<td data-order="2100">2100</td>
</tr>
<tr>
<td>6</td>
<td>Glossy poster</td>
<td>2016/03/17</td>
<td>To Do</td>
<td data-order="899">899</td>
</tr>
<tr>
<td>7</td>
<td>Beer label</td>
<td>2016/05/28</td>
<td>Confirmed</td>
<td data-order="2499">2499</td>
</tr>
<tr>
<td>8</td>
<td>Shop sign</td>
<td>2016/04/19</td>
<td>Offer</td>
<td data-order="1099">1099</td>
</tr>
<tr>
<td>9</td>
<td>X-Mas decoration</td>
<td>2016/10/31</td>
<td>Confirmed</td>
<td data-order="1750">1750</td>
</tr>
<tr>
<td>10</td>
<td>Halloween invite</td>
<td>2016/09/12</td>
<td>Planned</td>
<td data-order="400">400</td>
</tr>
<tr>
<td>11</td>
<td>Wedding announcement</td>
<td>2016/07/09</td>
<td>To Do</td>
<td data-order="299">299</td>
</tr>
<tr>
<td>12</td>
<td>Member pasport</td>
<td>2016/06/22</td>
<td>Offer</td>
<td data-order="149">149</td>
</tr>
<tr>
<td>13</td>
<td>Drink tickets</td>
<td>2016/11/01</td>
<td>Confirmed</td>
<td data-order="199">199</td>
</tr>
<tr>
<td>14</td>
<td>Album cover</td>
<td>2017/03/15</td>
<td>To Do</td>
<td data-order="4999">4999</td>
</tr>
<tr>
<td>15</td>
<td>Shipment box</td>
<td>2017/02/08</td>
<td>Offer</td>
<td data-order="1399">1399</td>
</tr>
<tr>
<td>16</td>
<td>Wooden puzzle</td>
<td>2017/01/11</td>
<td>Done</td>
<td data-order="1000">1000</td>
</tr>
<tr>
<td>17</td>
<td>Fashion Layout</td>
<td>2016/01/30</td>
<td>Planned</td>
<td data-order="1834">1834</td>
</tr>
<tr>
<td>18</td>
<td>Toy creation</td>
<td>2016/01/10</td>
<td>To Do</td>
<td data-order="1550">1550</td>
</tr>
<tr>
<td>19</td>
<td>Create stamps</td>
<td>2016/02/26</td>
<td>Done</td>
<td data-order="1220">1220</td>
</tr>
<tr>
<td>20</td>
<td>Sticker design</td>
<td>2017/02/18</td>
<td>Planned</td>
<td data-order="2100">2100</td>
</tr>
<tr>
<td>21</td>
<td>Poster rock concert</td>
<td>2017/04/17</td>
<td>To Do</td>
<td data-order="899">899</td>
</tr>
<tr>
<td>22</td>
<td>Wine label</td>
<td>2017/05/28</td>
<td>Confirmed</td>
<td data-order="2799">2799</td>
</tr>
<tr>
<td>23</td>
<td>Shopping bag</td>
<td>2017/04/19</td>
<td>Offer</td>
<td data-order="1299">1299</td>
</tr>
<tr>
<td>24</td>
<td>Decoration for Easter</td>
<td>2017/10/31</td>
<td>Confirmed</td>
<td data-order="1650">1650</td>
</tr>
<tr>
<td>25</td>
<td>Saint Nicolas colorbook</td>
<td>2017/09/12</td>
<td>Planned</td>
<td data-order="510">510</td>
</tr>
<tr>
<td>26</td>
<td>Wedding invites</td>
<td>2017/07/09</td>
<td>To Do</td>
<td data-order="399">399</td>
</tr>
<tr>
<td>27</td>
<td>Member pasport</td>
<td>2017/06/22</td>
<td>Offer</td>
<td data-order="249">249</td>
</tr>
<tr>
<td>28</td>
<td>Drink tickets</td>
<td>2017/11/01</td>
<td>Confirmed</td>
<td data-order="199">199</td>
</tr>
<tr>
<td>29</td>
<td>Blue-Ray cover</td>
<td>2018/03/15</td>
<td>To Do</td>
<td data-order="1999">1999</td>
</tr>
<tr>
<td>30</td>
<td>TV carton</td>
<td>2019/02/08</td>
<td>Offer</td>
<td data-order="1369">1369</td>
</tr>
</tbody>
</table>

Move the content, not text, of a table's cell to the right

I have a series of nested tables, below I created a jsfiddle structure.
I was using the arab notation, ( direction: rtl ) which is obviously wrong. I can not find the right css that moves the content to the right.
I wish to recreate the same structure.
Without using direction: rtl; because this makes the text reversed too. Borders are only to highlight it better.
Thanks to anyone who can help me
https://jsfiddle.net/wo77wgL5/
<table width = "800px" border=3 class="centralTable">
<tr>
<th></th>
<th></th>
<th>header 1</th>
<th>header 2</th>
<th>header 3</th>
<th>header 4</th>
</tr>
<tbody>
<tr>
<td> </td>
<td> </td>
<td>Text 1</td>
<td>Text 2</td>
<td>Text 3</td>
<td>Text 4</td>
</tr>
<tr>
<td colspan=6 style= "direction:rtl;">
<table width = "500px" border=1 class="toTheRight">
<tr>
<th></th>
<th></th>
<th>header 11</th>
<th>header 22</th>
<th>header 33</th>
<th>header 44</th>
</tr>
<tbody>
<tr>
<td> </td>
<td> </td>
<td>Text 11</td>
<td>Text 22</td>
<td>Text 33</td>
<td>Text 44</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
You can use <td align="right">
https://jsfiddle.net/msp5m4k9

make a table responsive

the following code is a table, i tried to make it responsive with bootstrap 3,
i added class="table" to table tag, but it didnt work.
what should i do? what is wrong?
<div class="tab3_main" id="cs1">
<table width="770" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<th height="50" colspan="3" align="left" scope="col">Camera</th>
</tr>
<tr> </tr>
<tr>
<td width="135" align="left" class="td">Image Sensor:</td>
<td width="15" align="left" class="td1">|</td>
<td align="left" class="td2">1/3" Progressive Scan CMOS</td>
</tr>
<tr> </tr>
<tr>
<td width="135" align="left" class="td">Min. Illumination:</td>
<td width="15" align="left" class="td1">|</td>
<td align="left" class="td2">0.01Lux #(F1.2,AGC ON), 0.028Lux #(F2.0,AGC ON), 0 Lux with IR</td>
</tr>
<tr> </tr>
<tr>
<td width="135" align="left" class="td">Shutter time:</td>
<td width="15" align="left" class="td1">|</td>
<td align="left" class="td2">1/3 s ~ 1/10,000 s</td>
</tr>
<tr> </tr>
<tr>
<td width="135" align="left" class="td">Slow shutter:</td>
<td width="15" align="left" class="td1">|</td>
<td align="left" class="td2">Support</td>
</tr>
<tr> </tr>
</tbody>
</table>
You should wrap your ".table" in ".table-responsive"
<div class="table-responsive">
<table class="table">
...
</table>
</div>
to make a table responsive in bootstrap 3.

Select Link after fetching label in frony of it

i am writing a selenium java code and at a particular webpage i want to select a link from a
group of links where each link has an emebeded text within a table. How can i select particular
link at this situtation. for eg.
run title--text 1
run title--text 2
run title--text 3
how can select specific run link for a specific title text? the text is not a label rather it is
just simple text on the webpage.
i am using the following code:
verify.text("text 1");
it will only verify the presence of text ut it wont go towarads the link as linkof every execution is named RUN. so it will identify the corresponding run link?
The HTML code for the above is:
<HTML>
<HEAD>
<TITLE>TEST</TITLE>
</HEAD>
<BODY>
<div align="center"><table class="module" width="630">
<tr>
<th class="banner" width="70">ACTION</th>
<th class="banner" width="560">REPORT TEMPLATE</th>
</tr>
<tr>
<td class="modulenav" width="70">
<table class="innermodule" width="100%">
<tr><td class="moduleNav"><a class="listingLink"
href="www.abc.com/">Run</a></td></tr>
<tr><td class="moduleNav"><a class="listingLink"
href="www.zxc.com">UnShare</a></td></tr>
</table>
</td>
<td>
<table class="innerModule" width="100%">
<tr>
<td class="label" width="70">Title</td>
<td width="490"><span class="listingHead">Incident Performance by Priority</span></td>
</tr>
<tr>
<td class="Label" width="70">Description</td>
<td class="listing"></td>
</tr>
<tr>
<td class="Label" width="70">Owner</td>
<td class="listing"> Software Engineer Tel: </td>
</tr>
<tr>
<td class="Label" width="70">Shared With</td>
<td class="listing">
Software Engineer Tel: <br>
</td>
</tr>
<tr>
<td class="label">Report Type</td>
<td class="listing">Performance by Priority</td>
</tr>
</table>
</td>
</tr>
<tr><td class="tableRuleNavy" colspan="2"></td></tr>
<tr>
<td class="modulenav" width="70">
<table class="innermodule" width="100%">
<tr><td class="moduleNav"><a class="listingLink"
href="www.abc.com">Run</a></td></tr>
<tr><td class="moduleNav"><a class="listingLink"
href="www.cxd.com">UnShare</a></td></tr>
</table>
</td>
<td>
<table class="innerModule" width="100%">
<tr>
<td class="label" width="70">Title</td>
<td width="490"><span class="listingHead">Incident Trend Analysis Report</span></td>
</tr>
<tr>
<td class="Label" width="70">Description</td>
<td class="listing"></td>
</tr>
<tr>
<td class="Label" width="70">Owner</td>
<td class="listing">Software Engineer Tel: </td>
</tr>
<tr>
<td class="Label" width="70">Shared With</td>
<td class="listing">
Software Engineer Tel: <br>
</td>
</tr>
<tr>
<td class="label">Report Type</td>
<td class="listing">Trend Analysis</td>
</tr>
</table>
</td>
</tr>
<tr><td class="tableRuleNavy" colspan="2"></td></tr>
<tr>
<td class="modulenav" width="70">
<table class="innermodule" width="100%">
<tr><td class="moduleNav"><a class="listingLink"
href="www.sdfds.com">Run</a></td></tr>
<tr><td class="moduleNav"><a class="listingLink"
href="www.asdg.com">UnShare</a></td></tr>
</table>
</DIV>
</td>
</BODY>
</HTML>