How to set table width to autofit to 100% in table stylesheet

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
ChoccieMuffin
Senior Propellus Maximus
Posts: 2650
Joined: Wed Apr 14, 2010 8:01 am
Location: Surrey, UK

How to set table width to autofit to 100% in table stylesheet

Post by ChoccieMuffin »

I've had a play with my table stylesheets and can't see how I can set my tablestyles to always be 100% (autofit to window, if you adjust an individual table's properties).

I've tried adding width: 100%; to the end of the mcTableStyle thing in the code, but that has no effect. I also have this in my regular stylesheet:
table
{
width: 100%;
}

So I don't know what else I need to do.

Suggestions very welcome - I'm playing in my global project and have managed to break ALL my tables in ALL my child projects! :shock:
Started as a newbie with Flare 6.1, now using Flare 2024r2.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
AlexFox
Sr. Propeller Head
Posts: 265
Joined: Thu Oct 19, 2017 1:56 am

Re: How to set table width to autofit to 100% in table stylesheet

Post by AlexFox »

More and more I've noticed that table stylesheets seem to cause problems. My only suggestion would be to try dissociating any current table styles from a test table and then ensure the topic is linked to a stylesheet with the table { width: 100%; } directive present.
Post Reply