Hi Dylan, "Dylan Browne" <[EMAIL PROTECTED]> wrote on 12/13/2005 11:59:01 AM:
> Im trying to import a CSS file into Batik in order to remove hard-wired styles > from my code. I checked out the Javadocs which helped slightly but haven’t > managed to get anything working. Ive Googled and searched the archives, and > can not find any examples or sample code. You might try looking at the SVG specification. You use the 'style' element to reference CSS style sheets. You might also take a look at samples/tests/spec/styling in general and 'alternateStylesheet.svg' in particular. > If anyone has a code snippet that shows how to import the CSS file, and > reference a style class within it I’d be very grateful You don't reference a style class with in the selector selects elements from your document that they apply to based on the selector associated with the style.
