-
FEATURED COMPONENTS
First time here? Check out the FAQ!
If I use <style> tag, then its working file. If I link external style sheet as .css file, then its not working.
Using <style> tag:
------------------
<window title="CSS Class">
<style>
.blue {
color: white; background-color: blue;
}
</style>
<button label="OK" sclass="blue"/>
</window>
Using external style sheet - way 1:
-----------------------------------
<style src="/style/common.css" />
It is throwing the following error:
___________________________________
Caused by: org.xml.sax.SAXParseException: The markup in the document following the root element must be well-formed.
Using external style sheet - way 2:
-----------------------------------
<?link rel="stylesheet" type="text/css" href="/style/common.css"?>
Now it is not throwing any error, and also its not considered.
My Software Version details:
----------------------------
Eclipse 3.4.2
ZK 3.6.2
I need to separate the style details into a common file, to easily referred from more screens.
Before posting, I had searched almost every thread listed in the search result. And also I tried all the ways of doing it. But, am missing something somehow.
I will check what am I missing and let you know.
Thanks terrytornado.
Asked: 2009-08-07 11:47:58 +0800
Seen: 278 times
Last updated: Aug 07 '09