Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 39739
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T14:54:45+00:00 2026-05-10T14:54:45+00:00

I am using ActiveScaffold in a Ruby on Rails app, and to save space

  • 0

I am using ActiveScaffold in a Ruby on Rails app, and to save space in the table I have replaced the default ‘actions’ text in the table (ie. ‘edit’, ‘delete’, ‘show’) with icons using CSS. I have also added a couple of custom actions with action_link.add (‘move’ and ‘copy’).

For clarity, I would like to have a tooltip pop up with the related action (ie. ‘edit’, ‘copy’) when I hover the mouse over the icon.

I thought I could do this by adding a simple ‘alt’ definition to the tag, but that doesn’t appear to work.

Can somebody point me in the right direction?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T14:54:45+00:00Added an answer on May 10, 2026 at 2:54 pm

    The alt attribute is to be used as an alternative to the image, in the case of the image missing, or in a text only browser.

    IE got it wrong, when they made alt appear as a tooltip. It was never meant to be that.

    The correct attribute for this is title, which of course doesn’t do a tooltip in IE.

    So, to do have a tooltip show up in both IE, and FireFox/Safari/Chrome/Opera, use both an alt attribute and a title attribute.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using TortoiseSVN against VisualSVN I delete a source file that I should not have
In a Rails app I have Sales and Salespeople: class Sale < ActiveRecord::Base belongs_to
Using a site like StackOverflow as an example: I have a table of users,
Using online interfaces to a version control system is a nice way to have
I recently started working on a small personal project in Ruby on Rails, and
I've recently added ActiveScaffold to an existing Rails project, and the problem I'm having
If you haven't seen my question yesterday, this is my second rails app. The
I have a join table with three columns. I've tried defining the three models
I'm using vhochstein's fork of active_scaffold, which runs quite nicely on rails 3, except
I'm currently developing a Rails app with 4 nested models (as per THIS POST

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.