Home Forums General XMetaL Discussion Centering Thead Text Reply To: Centering Thead Text


Reply to: Centering Thead Text

Based on your comment, I went back and did further testing. It is worth mentioning that the schema that I'm working with for this project allows text directly inside an entry element, which was not true of previous schemas that I worked with. It appears that I can get text contained within a child element to center, but not text that is entered directly into the entry element.

I ended up commenting out all alignment styles from my customization and then added the following style. It successfully centered child elements of the entry, but not the text contained directly within the entry. The other styles were applied correctly to the text.

thead>row>entry, thead>row>entry *
        text-align: center;
font-weight: bold;
padding: 4px;
background-color: Yellow;