/*
 * Copyright (c) 2017-2019 XMLmind Software. All rights reserved.
 *
 * This file is part of the XMLmind XML Editor project.
 * For conditions of distribution and use, see the accompanying legal.txt file.
 *
 * CSS styles adapted to editing XHTML 5.x in XMLmind XML Editor.
 *
 * Same as xhtml.css, except that attribute style is applied to table
 * elements. This compensates the fact that in XHTML5, all attributes
 * influencing table rendering (frame, rules, colgroup/@width, align, 
 * valign, etc) have been removed from table elements.
 */

@import url(xhtml.css);

/*
 * Dynamic support of attribute style only for table elements.
 */
@extension "com.xmlmind.xmleditext.xhtml.TableStylesSupport";

/* Intrinsic text-align:center set by 
   com.xmlmind.xmleditext.xhtml.table.TableSupport
   which is invoked before this stylesheet. */
*[style*="text-align:"] th {
    text-align: inherit;
}

