onmouseover multiple text effect

Posted on 2005-05-05
Last Modified: 2012-06-21

I have the following code for an onmouseover text effect that displays a "help" style cursor and a text description, but in addition to that, how can add an underline effect?

In the <head> I have:
<style type="text/css"> {
   cursor: help;

in the <body>:
<span class="info" title="my text description here">[text]</span>
Question by:cayi
    LVL 18

    Expert Comment

    <style type="text/css"> { cursor: help; } a { text-decoration:none;} a:hover { text-decoration:underline; cursor: help; }
    LVL 18

    Accepted Solution

    And then:

    <span class="info" title="my text description here"><a href="#">[text]</a></span>

    You may want to set the color for link also.

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Join & Write a Comment

    Unordered lists (HTML ul tags) are very handy to create menus of all types, shapes and sizes.  All it takes is a little knowledge of CSS and the possibilities are endless. First off, you should know the general format for menus created using the …
    This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
    In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
    In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    25 Experts available now in Live!

    Get 1:1 Help Now