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 7836317
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T14:05:37+00:00 2026-06-02T14:05:37+00:00

Here is my current tooltip: <div class="tooltip" style="position: absolute; top: 1298px; left: 382.5px; display:

  • 0

Here is my current tooltip:

<div class="tooltip" style="position: absolute; top: 1298px; left: 382.5px; display: none; ">this is where the tooltip text goes. You are quite the cool!</div>

Ignore the fact that it has inline CSS for a sec (sorry)…

Ok so I need to insert 3 spans into it – 1.5 before and 1.5 after the HTML so it looks like this in the end:

<div class="tooltip" style="position: absolute; top: 1298px; left: 382.5px; display: none; "><span class="tooltop"></span><span class="toolmid">this is where the tooltip text goes. You are quite the cool!</span><span class="toolbot"></span></div>

but of course don’t know the best way to do this…

Essentially it would look like this:

(existing div) (beginning span /) (middle span) [existing innerHTML] (/ middle span) (ending span /) (/existing div)

No idea.

  • 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. Editorial Team
    Editorial Team
    2026-06-02T14:05:39+00:00Added an answer on June 2, 2026 at 2:05 pm

    You can wrapAll existing content, then prepend the top and append the bottom

    var tooltip = $('.tooltip');                            //cache tooltip
    
    tooltip.contents().wrapAll('<span class="toolmid" />'); //wrap existing contents
    tooltip.prepend('<span class="tooltop">');              //prepend the top
    tooltip.append('<span class="toolbot">');               //append the bottom
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here is the current code I am using: <UserControl xmlns=http://schemas.microsoft.com/winfx/2006/xaml/presentation xmlns:x=http://schemas.microsoft.com/winfx/2006/xaml x:Class=ButtonPrototype.MainPage Width=640 Height=480>
I'm trying to make a 'select all' style checkbox in jQuery. here is current
Here's my current class definition and spec: class Event < ActiveRecord::Base # ... state_machine
Here is my current setup: Database Role - MyDbRole Schema - MySchema User -
here is my current line of code: $(<li>).text($(this).text()).appendTo(#theList); Which results in <ul id=theList> <li>blah</li>
Here is my current code: RewriteCond %{HTTP_HOST} !^example\.com [NC] #RewriteCond %{REQUEST_URI}!^something RewriteCond %{HTTP_HOST} ^([^.]+)\.example\.com
Here is my current, working, query: var lsFooterRow = from i in _context.Inventory where
I'm making a web-app with PhoneGap. Here's my current hurdle: On page one, the
Here is how our current php development solution is set up: Each developer work
The current form is here . It is not complete, and only a couple

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.