Stylesheet-table-how to change colour of all borders[FIXED]

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
M33R4
Sr. Propeller Head
Posts: 128
Joined: Wed Oct 07, 2020 7:58 am
Location: UK

Stylesheet-table-how to change colour of all borders[FIXED]

Post by M33R4 »

How do I amend the colour of the borders in my table (has outer and inner borders) in my stylesheet please :?:

Any help much appreciated.

Code:

<table class="table_1">
<col class="col_1" />
<col class="col_4" />
<col class="col_5" />
<tr>
<td colspan="3" class="td_1">
<p class="HSSBodyText_1">MOUSE</p>
</td>
</tr>
<tr>
<td class="td_7">
<p class="p_1">Left Mouse Button</p>
</td>
<td class="td_8">
<p class="p_1">Click</p>
</td>
<td class="td_9">
<p class="p_1">Highlight / Select a patient record, event, item, field, icon or function.</p>
</td>
</tr>
<tr>
<td class="td_2">
<p class="p_1">Left Mouse Button</p>
</td>
<td class="td_6">
<p class="p_1">Double-click</p>
</td>
<td class="td_3">
<p class="p_1">Load a patient record, event, or item.</p>
</td>
</tr>
<tr>
<td class="td_2">
<p class="p_1">Left Mouse Button</p>
</td>
<td class="td_6">
<p class="p_1">Click and Hold</p>
</td>
<td class="td_3">
<p class="p_1">Drag and drop an exam into the diary.</p>
</td>
</tr>
<tr>
<td class="td_2">
<p class="p_1">Right Mouse Button</p>
</td>
<td class="td_6">
<p class="p_1">Click</p>
</td>
<td class="td_3">
<p class="p_1">Displays any relevant context specific functions menu. </p>
<p class="p_1">You should then left-click to select the required option.</p>
</td>
</tr>
</table>
You do not have the required permissions to view the files attached to this post.
Last edited by M33R4 on Wed Oct 06, 2021 8:22 am, edited 1 time in total.
Newbie to MadCap Flare
ChoccieMuffin
Senior Propellus Maximus
Posts: 2632
Joined: Wed Apr 14, 2010 8:01 am
Location: Surrey, UK

Re: Stylesheet - table - how to change colour of all borders

Post by ChoccieMuffin »

Have you tried looking at using table stylesheets?
Started as a newbie with Flare 6.1, now using Flare 2023.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
M33R4
Sr. Propeller Head
Posts: 128
Joined: Wed Oct 07, 2020 7:58 am
Location: UK

Re: Stylesheet - table - how to change colour of all borders

Post by M33R4 »

ChoccieMuffin wrote:Have you tried looking at using table stylesheets?
I had an MS Word document consisting of lists, paragraphs, and tables.

I imported this document as a Project into Flare.

Flare created its own, single stylesheet from this import.

I am a Newbie - are you suggesting I create another, new, stylesheet purely for tables? And if so, can my 1 project use more than 1 stylesheet simultaneously? (I am relying on the existing stylesheet for the my paragraphs, headings, etc)
Newbie to MadCap Flare
ChoccieMuffin
Senior Propellus Maximus
Posts: 2632
Joined: Wed Apr 14, 2010 8:01 am
Location: Surrey, UK

Re: Stylesheet - table - how to change colour of all borders

Post by ChoccieMuffin »

Ah, yes. The joys of importing stuff from Word. (I hate Word...) And being a noob in Flare doesn't help - it's a very steep learning curve but SO worth it!

An imported Word document is almost certainly full of all sorts of nonsense, rubbish, unnecessary bits and pieces and an all-round hot mess. What you seem to have is a whole bunch of unnecessary classes for <td> (<td> is a table cell, <tr> is table row, <th> is table header) with an unnecessary paragraph class inside the table cells (even if you DID want a separate class of paragraph inside a table cell, you wouldn't want to call it "p_1"...)

You're going to need to do a good bit of tidying up in both your Flare topic where this table came from AND in the stylesheet, because you're probably not going to need all those extra <td> classes td_1, td_2 etc.

As a newbie to Flare there are lots of useful webinars that you should work through, when you get the chance. They're here: https://www.madcapsoftware.com/resource ... inars.aspx but also take a look at the other resources that are in that resources area.

Also, if you've got a new licence for Flare you should be able to get some initial training from Madcap, which is really worth doing.

You might want to take a look at this area in the Flare help that talks about table stylesheets:
https://help.madcapsoftware.com/flare20 ... sheets.htm

And this area that talks about table styles in regular stylesheets:
https://help.madcapsoftware.com/flare20 ... sheets.htm

And this bit, which talks about importing stuff from Word:
https://help.madcapsoftware.com/flare20 ... -Files.htm

Finally, don't panic - there are lots of people in these forums that can answer your questions or point you towards the answers.

Good luck, and I hope this helps get you started.
Started as a newbie with Flare 6.1, now using Flare 2023.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
M33R4
Sr. Propeller Head
Posts: 128
Joined: Wed Oct 07, 2020 7:58 am
Location: UK

Re: Stylesheet - table - how to change colour of all borders

Post by M33R4 »

I've learnt that importing directly from MS Word is not always practical.

I copied and pasted stuff as I went along instead.
Newbie to MadCap Flare
Post Reply