Include the following CSS property for all the anchors in your project

a{
       outline:none
 }
I checked the code in firefox, chrome and IE7. Hope this will work.
If u r using different CSS classes just make sure that any other class
doesnt override this property.

Thank u

On Apr 26, 5:01 pm, Jay Pangmi <[email protected]>
wrote:
> Frederick Cheung wrote:
> > On Apr 26, 7:01 am, Jay Pangmi <[email protected]>
> > wrote:
> >> Hassan Schroeder wrote:
> >> > On Sat, Apr 25, 2009 at 7:00 AM, Jay Pangmi
> >> > <[email protected]> wrote:
>
> >> ===========================================================================
> >>  =======
> >> <div id="side">
> >> <a href = "http://www....."; class = "side-link">Home</a><br />
> >> <%= link_to "Products", :action => "show_products", :class =>
> >> "side-link" %><br />
> >> </div>
>
> > If you check the generated HTML you'll see that you call to link_to
> > doesn't actually create a link with class side-link: it creates a link
> > whose URL contains ?class=side-link. It's the old "HTML options need
> > to be in a separate options hash" thing.
>
> > Fred
>
> Thanks Fred I figured it out. Now the only problem that persists is when
> I hover over the links a background with black color appears as the link
> gets focus and I hate it but couldn't figure out how I can get rid of
> it. Thanks
> --
> Posted viahttp://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to