Tag : ie6

2 posts

How to disable IE6 in your Rails applications

Author: Alex MacCaw

Well, the uprising against IE 6 has begun, and not a moment too soon – IE 6 will be seven years old on August 27th. In fact, there’s even a service to say goodbye to the old dinosaur.

You can do your bit for the Internet by showing a warning to IE 6 users in your Rails applications, or disabling it completely for those users, encouraging them to upgrade their browsers (or nag the relevant Sys Admin).

Firstly you need to install the UserAgent plugin by Josh Peek:
script/plugin install git://github.com/josh/useragent.git

Read this post

CSS 2.1 and CSS 3 selectors

Author: Sarah Craze

I’ve been meaning to check out the more complex selectors in CSS 2.1 for a long time but never seemed to find the time to experiment. So having some downtime the other day I thought I should get constructive.

Ninja at work

Descendant selectors seem well used in CSS these days and are a powerful way to target HTML elements within the page (for e.g. div.message p, which targets all p tags within div elements that have a class of ‘message’). It’s a good way to keep your HTML as clean as possible because it reduces the need to give every element on the page a unique id or a class for targeting purposes. And they’re well supported in all the major browsers that I usually test with – Firefox, Safari, Opera, and IE down to 5.0.

Read this post