Mess with the best, die like the rest… 


No tweets to display

WordPress 3.6 : Testing new feature – video

Today WordPress release new v3.6, but I really don’t have idea how to put everything together. Let start with the Video

Edited – Cool!! no more extra codes required. Just put the video link and that’s it. Don’t forget to choose format of your video (on right section).format


Quick tip: Draw border on the inside of an element using CSS

One way that you can draw a border on the inside of an HTML element rather than on the outside is to use the box-sizing CSS property like so:

-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;

This is supported on Firefox, Chrome, Safari, Opera and IE8+.

Note that by changing the box-sizing to border-box and declaring the css width property , the actual width of the element will not be composed of the (width value) + (padding value) +(border width value) but rather the value declared for css width property itself.

For a better understanding, please see this example. As you can see in the example, both divs have a width of 300px, padding and border width of 10px. The only difference is the box-sizing css attribute value.

You will notice that the default behavior (red) will result in a width of 340 pixels (300 + 20 + 20, we have both left and right padding and borders) but the green one will have only 300 pixels, the specified width css value. If you ask me, I kind of like it better this way :)

More details about box-sizing can be found on the Mozilla Developer Network


4 Basic Leadership Styles for Situational Managers

Situational leadership is a management style developed by noted management gurus Ken Blanchard and Paul Hersey. The fundamental precept of situational leadership is that there is no one “best” style of leadership, and that the most successful leaders are the ones who can adapt their style to a given situation. Situational leadership consists of four general styles of management.


Coaching is a type of situational leadership style that involves a great deal of “hands-on” involvement in an employee’s work process. According to, coaching is most beneficial when the employee displays weaknesses that need improvement. For coaching to be effective, the employee must acknowledge the weakness and indicate a desire to improve. An example of coaching is when a sales manager spends time on the road making calls with a struggling salesperson in an effort to improve her performance.


The directing leadership style typically involves taking over a challenging situation and applying specific knowledge and experience to right the ship. For example, if your business is struggling to establish its brand, a skilled marketing manager can be brought in to develop a marketing strategy to create brand awareness. A directing-type manager will establish clear goals and objectives for his work area as well as his staff, although staff members have some latitude as to the process used to meet the goals.


The delegating style places more of the responsibility on the shoulders of the workers as opposed to the managers. The manager is able to provide guidance, but only when needed or requested by the employees, and serves in more of a consultant capacity. This style is most effective with an experienced staff that can work independently. It also allows for maximum creativity in how employees choose to go about accomplishing a task.

Supporting Style

In the supporting style, the leader plays more of a motivational role. Her main function is to attempt to instill confidence in the workers so they eventually become more self-sufficient and productive. This method is often referred to as a “selling” style because the manager attempts to persuade the employees that they have the ability to perform the job. This style typically involves the assigning of tasks by the manager while providing support as needed.