Icon_search

Items tagged with "css"

Show:  All  |  News Items  |  Blog Posts

News Items

There are no news releases with that tag.


Blog Posts

Flickerless CSS Image Rollovers with no JavaScript

Apr 23, 2009 by Travis

Using an image as a background lets you have a lot more control over certain elements (like anchors). One of the main problems with images as backgrounds for anchors, however, is when you have a separate image as the rollover state. When the anchor is hovered over, you can see a brief blink while the rollover image is loaded for the first time. Of course, you can use a ...

Tagged: css, xhtml, background image

Plexus vs Internet Explorer 6

Sep 18, 2008 by Travis

If you've ever worked with CSS, you know what a pain it can be to get things looking right in all of the major browsers (Firefox, Safari and IE). IE is, of course, the major offender, causing extreme frustration at times. With the release of IE 7, the Microsoft dudes made a giant stride in standards compliance, but IE 6 is still hanging around in the fringe (I think t...

Tagged: ie, standards compliant, css

Piggybacking on link_to_unless

Aug 26, 2008 by Colin

We needed to add CSS to HTML links based on certain conditions (for instance, if you're already there). That's pretty easy to do by using link_to_unless, but the easy way isn't very DRY (Don't Repeat Yourself): <%= link_to_unless(@current_controller=='faq', "Frequently Asked Questions", faq_path){ link_to("Frequently Asked Questions", faq_path, :class =...

Tagged: rails, helpers, helper method, active, css, link to unless current

View all Blog Posts tagged with css »