Wiki

Articles tagged with "css"X
Displaying 1-5 of 5 result(s).

Yii 1.1: How To add id or class to CMenu items ?

Created 3 years ago by Louis GacHow-tos0 comments – viewed 15,483 times – ( +2 / -1 ) – version 1.1
CMenu comes with a lot of great customization options built in. One of the most used is the class 'active' being added to menu item. But, what if you want to add your own class or id to a menu item ?

Creating a CSS Driven Drop Down Menu using CMenu

Created 6 years ago by blindMoeHow-tos10 comments – viewed 88,291 times – ( +22 / -2 ) – version 1.1
CMenu offers great functionality and the ability to customize just about every aspect of the output. There are many times when I need to create a drop down menu or simply modify the look to make the designers happy. Because this seems to be a common task for me, I figured I would share my code to create a very simple drop down menu that other people could use.

Using jQuery UI 1.8.10 themes with Yii 1.1.6

Created 6 years ago by a110yTips7 comments – viewed 18,042 times – ( +2 / -1 ) – version 1.1
When using the latest stable jQuery UI themes (1.8.10) with Yii 1.1.6 (which uses 1.8.6) the widgets don't appear (they're invisible but they're there). In order to make them visible you need to change the following line:

Styling Radio Buttons

Created 6 years ago by Steve FriedlTips5 comments – viewed 53,854 times – ( +15 / -1 ) – version 1.1
The default behavior with radio button lists is ugly, and I figured out mostly how to style them a coupla different ways. I'll used the blog tutorial example (but with my own posting modes):

CSS Naming Conventions

Created 6 years ago by qiangTutorials4 comments – viewed 32,929 times – ( +35 / -2 ) – version 1.1
In this article, we introduce a set of CSS naming conventions that we have applied in several big projects and achieved success. The goal of these naming conventions is to eliminate the possibility of naming conflicts, facilitate debugging and maintenance, and to simplify the naming process.