Yii Framework Forum: Widgets and CSS - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

Widgets and CSS Rate Topic: -----

#1 User is offline   ShabbyRobe 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 42
  • Joined: 13-October 08

Posted 15 October 2008 - 08:30 PM

Widgets can embed related javascript assets using the CClientScript class, but is there a way to add a css asset in a similar way?
0

#2 User is offline   qiang 

  • Yii Project Lead
  • Yii
  • Group: Yii Dev Team
  • Posts: 5,879
  • Joined: 04-October 08
  • Location:DC, USA

Posted 15 October 2008 - 08:39 PM

CClientScript has support for CSS as well. Please check the API.
0

#3 User is offline   ShabbyRobe 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 42
  • Joined: 13-October 08

Posted 15 October 2008 - 08:52 PM

Oops, sorry! I'm usually good with that. Just missed it completely.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users