Prevent Text Wrap in Table Column

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
bianca_writer
Propeller Head
Posts: 54
Joined: Tue Mar 15, 2016 9:57 am
Location: Los Angeles, CA

Prevent Text Wrap in Table Column

Post by bianca_writer »

How can I prevent text in 1 table column from wrapping while still preserving the header formatting?

I have a few tables in a document in which the content in the first column is not supposed to wrap. I was able to create a column style called "FirstColumn" and assigned a "p.TableBodyNoWrap" tag to that column:

Code: Select all

p.TableBodyNoWrap
{
	text-align: left;
	white-space: nowrap;
}
This p tag successfully prevents the text from wrapping, BUT it also overrides the header rows I had already set up. Is there any way to have the header style override the column style? Or, is there a way to set the column width as the width of each cell's content?

The screen shot below shows how the column style overrides the header style.
Screen Shot 2016-11-29 at 9.35.40 AM.png
You do not have the required permissions to view the files attached to this post.
Post Reply