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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T09:40:13+00:00 2026-05-26T09:40:13+00:00

I have the following code: <!DOCTYPE html> <html lang=tr> <head> <meta charset=utf-8> <title>Bootstrap</title> <!–

  • 0

I have the following code:

<!DOCTYPE html>
<html lang="tr">
  <head>
    <meta charset="utf-8">
    <title>Bootstrap</title>

    <!-- Le styles -->
    <link rel="stylesheet" href="http://twitter.github.com/bootstrap/1.3.0/bootstrap.min.css">

    <body>
      <div class="container">

      <!-- Le content -->
      <div class="row">
        <div class="container-fluid">
          <div class="sidebar" style="border:1px solid #000">
            <img style="padding:5px 0px 0px 5px;" src="http://placehold.it/200x300" alt="">
          </div>
          <div class="content" style="border:1px solid #000">
            <ul class="tabs" data-tabs="tabs">
              <li class="active"><a href="#">Home</a></li>
              <li><a href="#">Profile</a></li>
              <li><a href="#">Messages</a></li>
              <li><a href="#">Settings</a></li>
              <li><a href="#">Contact</a></li>
            </ul>
            <div class="tab-content">
              <div class="active" id="home">
                <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam rutrum tortor sapien. Vestibulum risus nunc, elementum id adipiscing eu, dictum eu ipsum. Aliquam ac ligula lacus. Mauris eleifend eleifend magna, ut tincidunt leo consequat quis.</p>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </body>
</html>

I used inline styles because i am only testing. There is a huge space between tabs and content. What causes this and how to fix?

  • 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-26T09:40:13+00:00Added an answer on May 26, 2026 at 9:40 am

    Remove the clear:both declaration at .tab-content, by adding the following code after your <link rel=..> element:

      <style>
        .tab-content {
          clear: none;
        }
      </style>
    

    Also, don’t forget to add the closing </head> tag. Fiddle: http://jsfiddle.net/gAJ2T/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following html code <!DOCTYPE html> <html lang=en> <head> <meta name=viewport content=width=device-width;
In the master page I have the following code: <!DOCTYPE html> <html> <head> <meta
I have the following code: <!DOCTYPE html> <html> <head> <link rel=stylesheet type=text/css media=screen href=jquery-ui-1.8.9.custom.css
I have the following code: <!DOCTYPE html> <html> <head> <script src=http://code.jquery.com/jquery-latest.min.js></script> <meta name=viewport content=initial-scale=1.0,
I have the following code <!DOCTYPE HTML> <html> <head> </head> <body> <div class=full-details-box name=full_details_box
I have the following code. <?xml version=1.0 encoding=UTF-8 standalone=no?> <!DOCTYPE html PUBLIC -//W3C//DTD XHTML
I have following sample code: <!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.1//EN http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd> <html> <head>
I have the following code: <!DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/TR/html4/strict.dtd> <html> <head>
I have the following code: <!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN> <html lang=en-US xml:lang=en-US>
Let's say I have the following minimalistic HTML code: <!DOCTYPE html PUBLIC -//W3C//DTD XHTML

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.