Results 1 to 2 of 2

Thread: ToolTips

  1. #1
    Join Date
    Jul 2007
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile ToolTips

    Does anyone out there know how to change the background-border-font size & color on the tooltip....?

  2. #2
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,486
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    Using CSS you can make your own...

    Code:
    a {
         border-bottom: 1px dashed brown;
         text-decoration: none;
    }
    
    a:hover {
         position: relative;
    }
    
    a span {
         display: none;
    }
    
    a:hover span {
         display: block;
         position: absolute; top: 10px; left: 0;
         /* formatting only styles */
         padding: 5px; margin: 10px; z-index: 100;
         background: #000;
         border: 1px solid #F00;
         font-size:8px;
         color: #CCC;
         opacity: 0.9;
        /* end formatting */
    }
    Then use it as a span in the link:

    HTML Code:
    The greatest site in the world <a href="htttp://cleverwasteoftime.com">is CWoT<span>Owned by BLiZZaRD. The Game site is the best ever!</span></a>
    {CWoT - Riddle } {OSTU - Psycho} {Invasion - Team}
    Follow Me on Twitter: @Negative_Chaos
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •