Pages

Blackberry and Mediaqueries

Media queries don't work on OS 5.0 and lower, in Blackberry Devices so in place of media queries you can use a special style-sheet for lower version and your common media query style-sheet for higher version and to achieve that you have to define blackberry user-agent as in given example below..

Resize Text to Fill Div Space

With the help of this simple javascript you can make the text fill the whole width  of the div just like in the example below.