Hello! I have mystyle.css file. rect { fill: red; stroke: blue; stroke-width: 3 } I want to associate all style properties for SVG element using Cascading Style Sheets from the external CSS file. And I want to connect this css file from java application. And I don’t know how to do this exactly from java file and then instead of writing rect.setAttributeNS(null, "style", "fill: red; stroke-width: 3"); I want just say what style to use. How can I do this?
|
- Re: How to associate css file from JAVA? Dudka Tetyana
- Re: How to associate css file from JAVA? Thomas DeWeese
- Re: How to associate css file from JAVA? Måns Rullgård
- How to associate css file from JAVA? Dudka Tetyana
- Re: How to associate css file from JAVA? Thomas DeWeese
- How to associate css file from JAVA? Dudka Tetyana
- Re: How to associate css file from JAVA? Thomas DeWeese