Home Forums DITA and XMetaL Discussion Verify XMetal, PDF and HTML customization files Reply To: Verify XMetal, PDF and HTML customization files

linjinwei

Reply to: Verify XMetal, PDF and HTML customization files

Alright Thanks mag3737

The mean problem lies with the HTML output. I did go through the Help section on “Appendix A: Configuring XHTML and CHM output”. I have copied the commontlr.css file and created a custom one on my desktop which I named it “commontlr_custom.css”.

I removed everything inside, leaving only the

element because I wanted to do some testing first, to see if the custom file works. So I tried setting everything embeded within

to have RED font color

[code].p {color: red}[/code]

[URL=http://imageshack.us][IMG]http://img404.imageshack.us/img404/5071/commonltrcustomfm0.jpg[/img][/URL]

================================================================
Next, I created a Concept Topic, type in some text, which is within the

tag.

[URL=http://imageshack.us][IMG]http://img206.imageshack.us/img206/1959/uselessxmetaloz5.jpg[/img][/URL]
================================================================

After that, I displayed it in Multiple HTML file. But before that, I clicked on [Configure Output] first, and under Deliverable Types, I set the stylesheet path to my commonltr_custom.css.

[URL=http://imageshack.us][IMG]http://img177.imageshack.us/img177/2973/configureoutputxmetaloc6.jpg[/img][/URL]

================================================================
Finally I run the file. I even Right Click and View Source to see if the stylesheet is linked.

[URL=http://imageshack.us][IMG]http://img291.imageshack.us/img291/1503/uselesshtmlgz5.jpg[/img][/URL]

================================================================

Well as you can see, the text isn't red. I have also tried doing the same thing to element, but nothing changes. Can anybody point out the mistake I have done?

Regards

Reply

Products
Downloads
Support