0

font won't change via CSS

asked 2006-04-22 04:52:23 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3698300

By: nobody

I am trying to modify the font size and color of treeitems within a treechild.
I can modify the backgroud color and other variables just not the text itself.
here's a sample of what i've tried

<treechildren style="background-color:#DA535A; color:white;">

the bg color goes red, but the text stays black.
then:

<?xml-stylesheet href="/style.css" type="text/css"?> <window> ...
<treechildren sclass="text">


.text{
font-family: verdana;
font-size: 8px;
color: #FFFFFF;
font-weight: bold;
background-color: #DA535A;
text-decoration: none;
}

once again the bg is red but nothing else changes.

if i try
<treeitem id="s1" label="Main" value="/main.zul" sclass="text"/>

i receive this error
A transparent component cannot use smartUpdate


thank you for the help

delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2006-04-22 09:38:41 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3698430

By: henrichen

Please post this to Bug list. Let's track it there.

/henri

link publish delete flag offensive edit

answered 2006-04-22 15:43:51 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3698662

By: nobody

I'm not a registered sourceForge user, or else i'm just blind, but I don't see how to add this to the bug list.

Can somebody move this thread to the bug list?


thanks

link publish delete flag offensive edit

answered 2006-04-23 02:44:26 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3699024

By: nobody

http://sourceforge.net/tracker/?group_id=152762&atid=785191

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-04-22 04:52:23 +0800

Seen: 319 times

Last updated: Apr 23 '06

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