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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T21:08:57+00:00 2026-06-07T21:08:57+00:00

I apologize because this seems like such a simple thing. What’s the correct way

  • 0

I apologize because this seems like such a simple thing.

What’s the correct way to insert a newline in a way that the next element is on a newline? It seems like some things automatically do this (such as <p> within `) but I’m seeing behavior where the next element can appear right next to the last element.

HTML:

<ul class="nav nav-tabs span2">
    <li><a href="./index.html"><i class="icon-black icon-music"></i></a></li>
    <li><a href="./about.html"><i class="icon-black icon-eye-open"></i></a></li>
    <li><a href="./team.html"><i class="icon-black icon-user"></i></a></li>
    <li><a href="./contact.html"><i class="icon-black icon-envelope"></i></a></li>
</ul>
<BR /> <!-- It seems dumb to need this!  Is this really how -->
<BR /> <!-- to get a newline? -->
<BR /> <!-- Well, it's what -->
<BR /> <!-- I'm doing now, I suppose... -->
<BR />

<div class="well span6">
    <h3>I wish this appeared on the next line without having to gratuitously use BR!</h3>
</div>

What is the correct or elegant way to handle newlines after things like ul or div? Am I overlooking a general setup of the code that handles this?

  • 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-07T21:09:00+00:00Added an answer on June 7, 2026 at 9:09 pm

    You’re using span6 and span2. Both of these classes are “float:left” meaning, if possible they will always try to sit next to each other.
    Twitter bootstrap is based on a 12 grid system. So you should generally always get the span**#** to add up to 12.

    E.g.: span4 + span4 + span4 OR span6 + span6 OR span4 + span3 + span5.

    To force a span down though, without listening to the previous float you can use twitter bootstraps clearfix class. To do this, your code should look like this:

    <ul class="nav nav-tabs span2">
      <li><a href="./index.html"><i class="icon-black icon-music"></i></a></li>
      <li><a href="./about.html"><i class="icon-black icon-eye-open"></i></a></li>
      <li><a href="./team.html"><i class="icon-black icon-user"></i></a></li>
      <li><a href="./contact.html"><i class="icon-black icon-envelope"></i></a></li>
    </ul>
    <!-- Notice this following line -->
    <div class="clearfix"></div>
    <div class="well span6">
      <h3>I wish this appeared on the next line without having to gratuitously use BR!</h3>
    </div>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'd like to apologize in advance, because this is not a very good question.
Apologies in advance. This seems like a simple task, but hours later on Google
I apologize because I know this has been covered over and over again, but
I apologize in advance if this question seems confused. The behaviour I am seeing
I apologize for syntax errors, this is my simple explanation of the problem. I've
I am very new to programming, so I apologize if this question seems absurdly
I apologize ahead of time if this is a simple question, I have this
First of all, I apologize for yet another interface question. I thought that this
This seems like the most common relationship but for some reason I cannot get
I apologize because I am quite certain this is a basic question. All I

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.