PD4ML v4 › Forums › PD4ML v3 Archived Forums (Read Only) › HTML/CSS rendering issues › Can I reference a style sheet in the header and footer html? This topic has 3 replies, 2 voices, and was last updated Apr 18, 201718:49:57 by ldbader. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts ldbader April 18, 2017 at 18:49 #27143 I have successfully implemented headers and footers using hard coded style= attributes. Now I need the styles to be dynamic. Can I reference a style sheet in the header and footer html? If so how? PD4ML April 18, 2017 at 20:53 #30034 If you define headers/footers via API, try to define not only HTML snippet, but a valid HTML doc: [language=xml:1yqlfbz1]header.setHtmlTemplate(“” + “page $[page] of $[total]“)[/language:1yqlfbz1] ldbader April 19, 2017 at 14:14 #30035 Oh, thank-you. I don’t know where I got the idea that headers and footers had to begin with a tag. I will enhance them to be a full HTML document and see if that fixes my problems. I will reply with my results. PD4ML May 5, 2017 at 13:37 #30033 > I don’t know where I got the idea that headers and footers had to begin with a tag. PD4ML supports two ways to define headers/footers, and it can be confusing. Other approach allows you to define headers/footers inline with tag. In this case a header or footer respects the main document stylesheets. Author Posts Viewing 4 posts - 1 through 4 (of 4 total) The forum ‘HTML/CSS rendering issues’ is closed to new topics and replies.