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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T19:08:57+00:00 2026-05-26T19:08:57+00:00

I would like to know how to embed my div tag, which I want

  • 0

I would like to know how to embed my div tag, which I want to be inside the tab of a jquery tab: I have this code:

<div id="tabs">
    <ul>
        <li><a href="#tabs-1">Nunc tincidunt</a></li>
        <li><a href="#tabs-2">Proin dolor</a></li>
        <li><a href="#tabs-3">Aenean lacinia</a></li>
    </ul>

    <div id ="tabs-1">
        <div id=panel>
            <br>
            <form action="xx.php" method="post" name="post">
                 <textarea
                 </textarea>
                 <br>
                 <input type="submit" name="submit" value="Post "/>
             </form>
        </div>
        <p class="slide">
             <a href="#" class="btn-slide">Post</a>
        </p>
    </div>
</div>

However, this doesn’t properly embed the div (id = panel) into the div tabs-1 and just comes out at the bottom of the tab, not properly inside it, yet still goes away when I click on another tab.

I have attached an image demonstrating my problem, apologies if the content inside is irrelevant.

Please click on this link to view the problem: https://i.stack.imgur.com/ZImwI.png.

As you can see, it is not inside the tab, but still goes away when yoy click on another tab.

What must I do to be able to actually put that div, which I will not change, into the tab so that it actually goes inside it.

I have tried to make this as clear as possible. Thanks

  • 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-05-26T19:08:58+00:00Added an answer on May 26, 2026 at 7:08 pm

    I’m guessing the div#panel is probably floating. If that’s the case, you should be able to fix this by adding a clearing element at the last child of div#tabs-1. E.g.

    <div id ="tabs-1">
        <div id="panel">
             ...
        </div>
        <p class="slide">
             ...
        </p>
    
        <!-- the clearing element -->
        <div style="clear:both; float:none"></div>
    </div>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to know how. I have looked at this topic , and
I have a WPF assembly in which I would like to embed five icons
I would like to know how to embed CINT into a C++ code on
I have an application that I would like to embed inside our companies CMS.
Would like to know the c# code to actually retrieve the IP type: Static
Would like to know how to hide an div after a set of css3
I would like to know what code to use to convert a double[] array
I would like to know if there is a way to embed a cranvas
I would like to embed the lib tar library inside my program, so if
I would like to know if embed js is a problem for site security,

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.