rivet Posted January 27, 2006 Posted January 27, 2006 I am familiar with css, and how I can global format the html tags. But how do I do it will xsl. The examples that I have seen don't deal with Font-Family, size etc. do I create a separate style file (like css) and link it to all the pages. Any help would be appreciated.
Fenton Posted January 27, 2006 Posted January 27, 2006 I'm not much the "web publisher" guy, but this is pretty simple. You can call a .css file from your .xsl file, much the same as any other elements you put in the xsl file.
rivet Posted January 28, 2006 Author Posted January 28, 2006 thanks fenton, I was trying that and no luck. Not until I loaded an image in my xml page and it wouldn't show up. I then tried external references for images and css, and that did it. I guess I must now check my server and firewall.
Martin Brändle Posted January 31, 2006 Posted January 31, 2006 images, css, and other static files should be placed in subfolders of your web root folder, not into the xslt-template-files folder You can then reference them either with an absolute path, e.g. "/images/imagexy.gif" or with a relative path, e.g. "../../css/xy.css"
Recommended Posts
This topic is 6869 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now