Ruby on Rails problems & solutions - Apr 15, 2011


April 16, 2011

HR’s in IE All I can say is … grrrrrrr.  Waste a bunch of time, if you like, trying to get them to look right, cross-browser, or just use this work-around code for IE:

http://blog.neatlysliced.com/2008/03/hr-image-replacement/But I lurved the hr image from here:

http://www.pewpewlaser.com/articles/fancy-hrs

Also, how you you not love a site called ‘pewpewlaser’? :-)

Mysterious extra white space around img in Firefox If you will recall from the last post, I was working on an image map.  Then, I couldn’t get it to look right, because of all the extra white space.  This post’ll get you headed in the right direction:

http://www.codingforums.com/archive/index.php/t-84484.html

Proper use of jQuery dialog

Otherwise known as “Why does this dialog only open once?”  

http://blog.nemikor.com/2009/04/08/basic-usage-of-the-jquery-ui-dialog/

Hmmm.  Not much Ruby or Rails in this post, eh?  Well, Ruby on Rails apps are web apps, and some days you’ll be struggling with HTML, CSS, & Javascript.  That’s just the way it is, so make sure you don’t neglect those tools in your toolbox.


Like what you’ve been reading?  Live in Western Canada (or there abouts)?  Sign up at  http://ror4real.com, to stay informed about the next upcoming Ruby on Rails for Rail training class, held in Calgary, AB.


} else { $('#cookie-notice').show(); } $('#cookie-notice-accept').click(function() { createCookie('cookie-notice-dismissed','true',365); // Change from 1 month to 1 year. $('#cookie-notice').hide(); });