0

how can i use style sheet

asked 2006-03-06 12:47:31 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


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;
}



delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2006-03-06 13:08:09 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


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?>

link publish delete flag offensive edit

answered 2006-03-08 10:16:03 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


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?

link publish delete flag offensive edit

answered 2006-03-08 16:16:52 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


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

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2006-03-06 12:47:31 +0800

Seen: 1,046 times

Last updated: Mar 08 '06

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More