0

Timeline sample looks weird [closed]

asked 2013-06-17 10:37:44 +0800

keyevent gravatar image keyevent
2 2

all

I download the timeline sample but it looks awuful on my local. Data collapse into each other and I dont see any where I can adjust the font. Unfortunately I cant upload the screen shot for not enough karma. Appreciate for anyone who has this knowledge can help me out, thank you

regards Li

delete flag offensive retag edit

The question has been closed for the following reason "the question is answered, right answer was accepted" by sjoshi
close date 2013-06-20 13:50:21

Comments

Upload images some other website give link here

sjoshi ( 2013-06-17 12:07:17 +0800 )edit

the second solution works perfectly, thank you very much for the help

keyevent ( 2013-06-20 13:40:35 +0800 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-06-18 03:29:13 +0800

cor3000 gravatar image cor3000
6280 2 7

updated 2013-06-18 03:31:15 +0800

you can quickly change the font for the timeline component using the style attribute

<timeline id="timeline" height="300px" width="850px" style="12px arial,sans-serif;">

or using the sclass-attribute if you want to apply an existing css-class.

<style>
  .small-font {
    font: 12px arial,sans-serif;
  }
</style>
<timeline id="timeline" height="300px" width="850px" sclass="small-font">

I tested in latest chrome, ff and ie10 the font size was applied correctly. Also refer to the ZK Style Guide.

link publish delete flag offensive edit

Question tools

Follow
1 follower

RSS

Stats

Asked: 2013-06-17 10:37:44 +0800

Seen: 13 times

Last updated: Jun 20 '13

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