Page 1 of 1

Change a table style's location programmatically

Posted: Thu Jan 20, 2022 7:57 pm
by tekwrite55
I have a lot of files that have table style sheets here:

<table cellpadding="0" cellspacing="0" class="TableStyle-Numbered" style="width: 100%;caption-side: top;mc-table-style: url('../Resources/TableStyles/Numbered.css');">

I want to change the table style sheet to the same style name but in a different location on my computer.

<table cellpadding="0" cellspacing="0" class="TableStyle-Numbered" style="width: 100%;mc-table-style: url('Resources/TableStyles/Numbered.css');margin-left: 0;margin-right: auto;caption-side: top;">

I have tried all manners of searching in the source code but it will not find them.

Re: Change a table style's location programmatically

Posted: Wed Jan 26, 2022 12:36 am
by NorthEast
The link to the CSS is included in the head section as well as the table tag, so you'd need to change it in both places.

However, searching for this should work with no problems:

../Resources/TableStyles/Numbered.css

When you search in source code, make sure it's set to Regular Text and not Regular Expressions (as / is a special character).
Apart from that, double-check all your search options.