-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3612964
By: nobody
i am doing a page, which using embed html stuff, however, my stylesheet bit not working can anyone tell me why my code is
<window title="stylesheet" border="normal" width="100%">
<html>
<attribute name="content">
<link rel="stylesheet" type="text/css" href="theme/demo.css">
Hello World!
</link>
</attribute>
</html>
</window>
---------------------
stylesheet is
body{
color: red;
font-family: Tohoma;
size : 12pt;
}
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3613004
By: tomyeh
Make sure the path (href) is correct.
1) You are using relative path. Is it correct?
2) The link component doesn't prefix href with the context path, so you have to do it yourself, or use <?xml-stylesheet?>
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3617605
By: nobody
thank you for you answer, however i dont really understand. the href is corret,and no error throw out. i wanna now is that possible using relative path for the style sheet? also i tried use <?xml-stylesheet?> it give error like [xX][mM][lL] is not matching. is that mean that xml is not allowed in zk?
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3618151
By: nobody
no worries now! i got it works. the small talk about the css are really help.
thanks for the hard work
Asked: 2006-03-06 12:47:31 +0800
Seen: 1,046 times
Last updated: Mar 08 '06