Posts Tagged "CSS"

Single page app Angular JS $http inside Code Igniter using Twitter Bootstrap

Angular JS is picking up a lot of appreciation for its powerful features. A javascript framework which makes HTML smarter. Following a MVC patter, this framework can not only reduce a hell lot of java script code in your application, but also give an very powerful user experience. In this tutorial, I will explain, how we can use Angular JS $http to get ajax data in JSON format and then quickly use that in our application inside Codeigniter environment using Bootstrap.

Implementing LESS in Drupal 7 with Omega theme

Well with so much reading on CSS, LESS and DRY I guess this article was on the cards, isn't it. My last two micro blogs on DRY and LESS, it was time to implement them on a Drupal installation and try out with Omega theme. And a little bit of Google and finally it worked.

Tags:

CSS font size and its units explained

With the web 2.0 style web designs, minimalist designs etc, one thing is certain – fonts are playing a very important part of the visuals of the site. Gone are those days where big images, boxy buttons were “The thing to do”. And another aspect is the different mediums through which our websites are accessed now. A mobile, PDAs, Notebooks, iPADs and the list goes on. So, the question is how to get the best out of fonts and make them readable across all platforms. Yes, font size plays a very important role and so the unit does matter.

Tags:

CSS hack/fix for Google chrome and Safari

This time it is a small one about how to fix a css issue. I was working on the theme of my website when I came across this strange problem. One of my div container with an image had some negative margin. This was working wonders on Firefox and Opera, but somehow Google chrome was not in a mood to co-operate. I could have used some server side code to check the browser and things like that, but then, it would have been an overkill for a small problem which can be take care with CSS hack. By the way, I have not even mentioned about Internet Explorer because personally, I don't support it. If it is working, then well and good :P (a way to say no to IE).

Tags: