Showing posts with label CSS. Show all posts
Showing posts with label CSS. Show all posts

Create Organization ( Company ) chart with gojs


Download the file.

https://drive.google.com/open?id=0B9cPcFcKq6vnbWM0X3ZzNkVsSXc



For more details Visit.

http://gojs.net/latest/samples/orgcharteditor.html


Note : for removing gojs reference text replace gojs.js with org-chart.js :-) 

Feedback are always Welcome.

How to load external font in css




How how to use in your code

.your-div-name {
  1. font-familymyFirstFont;

How to apply css styles to codeigniter dropdown?

form_dropdown('dropdown', $options, $selected, 'style="width: 240px; font-size: 13px"');
You could just as easily add a class to the  and then add the styles in your stylesheet:
form_dropdown('dropdown', $options, $selected, 'class="foo"');
In either case, if you don't have a value for $selected, set it to array()
form_dropdown('dropdown', $options, array(), 'style="width: 240px; font-size: 13px"');
Although you could get away setting it to null or '' for convenience.

if/else conditions in CSS?

here is list of operators are available

lt      = less than operator
lte    =  less than or equal to
gt    =   greater than
gte    =  greater than or equal to
!     =  the NOT operator
()     =  subexpression operator
&      =  the AND operator
|      =  the OR operator
true    = evaluates to true
false =   evaluates to false
you can use this like this

<!--[if lt IE 7 ]>
  <p>Only less than IE 7 will see this</p>
<![endif]-->


<!--[if gte IE 6 ]>
 <p>Only  IE 6 and greater will see this</p>
<![endif]-->