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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T08:20:31+00:00 2026-06-04T08:20:31+00:00

I am using Foundation CSS to create some contained tabs. http://foundation.zurb.com/docs/ui.php#simpleContained1 Since I need

  • 0

I am using Foundation CSS to create some contained tabs. http://foundation.zurb.com/docs/ui.php#simpleContained1

Since I need many divs inside the tab content I am placing the divs inside li elements. Is div inside list allowed?

But the div does not get contained inside the border of tab content. It goes outside it. How can we make the border to contain the divs.

I am including a bit of code

<dl class="tabs contained">
  <dd><a href="#simpleContained1" class="active">Operators and Set Operartors</a></dd>
  <dd><a href="#simpleContained2">Greek Letters and Other Symbols</a></dd>
  <dd><a href="#simpleContained3">Operations and Arrows</a></dd>
</dl>

   <ul class="tabs-content contained">
        <li class="active" id="simpleContained1Tab">

                        <div id="add" class="lib-item">
                          Add
                        </div>

                        <div id="subtract" class="lib-item">
                          Sub
                        </div>

                        <div id="multiply" class="lib-item">
                          Mul
                        </div>

                        <div id="divide" class="lib-item">
                          Div
                        </div>

                        <div id="plusorminus" class="lib-item">
                          Plus or minus
                        </div>

                        <div id="lessthan" class="lib-item">
                          Less than
                        </div>

                        <div id="greaterthan" class="lib-item">
                          Greater Than
                        </div>

                        <div id="lessthanorequalto" class="lib-item">
                          Less than / Erual to
                        </div>

                        <div id="equalto" class="lib-item">
                          Equal to
                        </div>

                        <div id="approximately" class="lib-item">
                          Approx
                        </div>

                        <div id="notequalto" class="lib-item">
                          Not equal to
                        </div>

                        <div id="setunion" class="lib-item">
                          Union
                        </div>

                        <div id="subset" class="lib-item">
                         Subset
                        </div>

                        <div id="superset" class="lib-item">
                          Superset
                        </div>

                        <div id="propersubset" class="lib-item">
                          Proper Subset
                        </div>

                        <div id="propersuperset" class="lib-item">
                          Proper Superset
                        </div>

                        <div id="inset" class="lib-item">
                          Inset
                        </div>

                        <div id="notinset" class="lib-item">
                          Not Inset
                        </div>

                        <div id="forall" class="lib-item">
                          For All
                        </div>

                        <div id="exists" class="lib-item">
                          Exists
                        </div>

                        <div id="emptyset" class="lib-item">
                          EmptySet
                        </div>                    

                        <div id="setcontains" class="lib-item">
                          Set Contains
                        </div>

                       </li>

                      <li id="simpleContained2Tab">This is simple tab 2's content. Now you see it!

                      </li>
                      <li id="simpleContained3Tab">This is simple tab 3's content. It's, you know...okay.

                      </li>              
   </ul>

lib-item is class I have written to just arrange the contents inside the tab content area.

It is like this

.lib-item{
 float:left;
 background-color:#CCC;
 width:100px;
 text-align:center;
 margin:5px;
}

This is how the result looks now

http://tinypic.com/view.php?pic=118n4e8&s=6

  • 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-04T08:20:33+00:00Added an answer on June 4, 2026 at 8:20 am

    Here is the Example

    Put all divs under one main div (buttons_backdiv). Before close the main div we have to clear the float. So add one div with class clearfloat.

    Operators and Set Operartors
    Greek Letters and Other Symbols
    Operations and Arrows

        <div class="buttons_backdiv"> //main div opening
                        <div id="add" class="lib-item">
                          Add
                        </div>
    
                        <div id="subtract" class="lib-item">
                          Sub
                        </div>
    
                        <div id="multiply" class="lib-item">
                          Mul
                        </div>
    
                        <div id="divide" class="lib-item">
                          Div
                        </div>
    
                        <div id="plusorminus" class="lib-item">
                          Plus or minus
                        </div>
    
                        <div id="lessthan" class="lib-item">
                          Less than
                        </div>
    
                        <div id="greaterthan" class="lib-item">
                          Greater Than
                        </div>
    
                        <div id="lessthanorequalto" class="lib-item">
                          Less than / Erual to
                        </div>
    
                        <div id="equalto" class="lib-item">
                          Equal to
                        </div>
    
                        <div id="approximately" class="lib-item">
                          Approx
                        </div>
    
                        <div id="notequalto" class="lib-item">
                          Not equal to
                        </div>
    
                        <div id="setunion" class="lib-item">
                          Union
                        </div>
    
                        <div id="subset" class="lib-item">
                         Subset
                        </div>
    
                        <div id="superset" class="lib-item">
                          Superset
                        </div>
    
                        <div id="propersubset" class="lib-item">
                          Proper Subset
                        </div>
    
                        <div id="propersuperset" class="lib-item">
                          Proper Superset
                        </div>
    
                        <div id="inset" class="lib-item">
                          Inset
                        </div>
    
                        <div id="notinset" class="lib-item">
                          Not Inset
                        </div>
    
                        <div id="forall" class="lib-item">
                          For All
                        </div>
    
                        <div id="exists" class="lib-item">
                          Exists
                        </div>
    
                        <div id="emptyset" class="lib-item">
                          EmptySet
                        </div>                    
    
                        <div id="setcontains" class="lib-item">
                          Set Contains
                        </div>
         <div class="clearfloat"></div> //div float clear
         </div> //main div closing
                       </li>
    
                      <li id="simpleContained2Tab">This is simple tab 2's content. Now you see it!
    
                      </li>
                      <li id="simpleContained3Tab">This is simple tab 3's content. It's, you know...okay.
    
                      </li>              
    

    ​

    Css is:

    .buttons_backdiv { width:100%;}
    .clearfloat { clear:both;}
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using the Zurb Foundation framework to build the front-end (http://foundation.zurb.com/docs/grid.php) and I
I am using Zurb Foundation and it works great for almost all the browser
We are using Team Foundation Server 2010 and we have some JavaScript unit tests
I'm using Team Foundation Server 2008 (SP 1) and I need to move multiple
We're using Team Foundation Server and we are using Labels to create points in
I have the following MonoTouch program: using System.Drawing; using MonoTouch.Foundation; using MonoTouch.UIKit; using System;
I'm using Windows Identity Foundation (WIF) for authentication in my ASP.NET MVC 3 project.
I'm trying to install Team Foundation Server using 2 machines: Machine1 : OS: Windows
We have implemented SSO in a .NET web application using Windows Identity Foundation (WIF).
I'm having problems compiling the following program. I'm using gcc -framework Foundation inherit8.1m and

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.