actual table borders not reflecting TableStyleSheet

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
bonnie
Sr. Propeller Head
Posts: 158
Joined: Wed May 14, 2008 4:00 pm

actual table borders not reflecting TableStyleSheet

Post by bonnie »

The table borders I'm getting in most of the tables in my WebHelp are not reflecting what is in the TableStyleSheet, even though I do Table Style > Reapply Table Style.

Here is an example of the table tag code for the misbehaving tables:

Code: Select all

<table border="1" style="border-left-style: solid;border-left-width: 1px;border-left-color: #191970;border-right-style: solid;border-right-width: 1px;border-right-color: #191970;border-top-style: solid;border-top-width: 1px;border-top-color: #191970;border-bottom-style: solid;border-bottom-width: 1px;border-bottom-color: #191970;width: 100%;caption-side: top;margin-left: auto;margin-right: auto;mc-table-style: url('../Resources/TableStyles/Table_A.css');" class="TableStyle_Table_A" cellspacing="0" MadCap:mediastyle="@media print { mc-table-style: url('../Resources/TableStyles/Table_A_print.css'); }">
            <col style="width: 80pt;" />
            <col style="width: 192pt;" />
            <col style="width: 80pt;" />
            <col style="width: 130pt;" />
But I've specified the borders to be 2px in the Table_A Stylesheet.
And when I look at the Table_A Stylesheet, this is what I see:

Code: Select all

mcTableStyle {
	name: Table_A; 
	border-collapse: collapse; 
	border-left-style: solid; 
	border-left-width: 2px; 
	border-right-style: solid; 
	border-right-width: 2px; 
	border-top-style: solid; 
	border-top-width: 2px; 
	border-bottom-style: solid; 
	border-bottom-width: 2px; 
	cell-padding-left: 5px; 
	cell-padding-right: 5px; 
	cell-padding-top: 5px; 
	cell-padding-bottom: 3px; 
	border-spacing-y: 0; 
	border-spacing-x: 0; 
	color: #000000; 
	border-left-color: #191970; 
	border-right-color: #191970; 
	border-top-color: #191970; 
	border-bottom-color: #191970; 
If I edit the table tag in the Internal Text Editor, I can put in the border weights that I want (2 px), but they don't "take" from the table style sheet.

So...What in the world do you suppose is going on??
P.S. I DO have Table_A selected as the Tablestyle to apply in the Table Properties db.

Thanks for any and all help.
Bonnie
Post Reply