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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T17:56:08+00:00 2026-06-18T17:56:08+00:00

My problem is that for the div classes form-profile and form-profile-side , if I

  • 0

My problem is that for the div classes form-profile and form-profile-side, if I want 2 of those divs, they must be on the same line within the HTML:

<div class="span13">
  <form class="form-profile-side"></form><form class="form-profile"></form>
</div>

if I put the second class on a new line, it messes up the layout (this is what I’m trying to do):

<div class="span13">
  <form class="form-profile-side"></form>
  <form class="form-profile"></form>
</div>

CSS:

.form-profile-side {
  display: inline-block;
  vertical-align: top;
  width: 120px;
  background-color: #fff;
  border: 1px solid #d6d6d6;
  border-right: 0;
  -webkit-border-radius: 0px 0px 0px 0px;
  -moz-border-radius: 0px 0px 0px 0px;
  border-radius: 0x 0px 0px 0px;
  -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
  -moz-box-shadow: 0 1px 2px rgba(0,0,0,.05);
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
}

.form-profile {
  display: inline-block;
  width: 817px;
  padding: 15px 15px 15px;
  background-color: #fff;
  border: 1px solid #d6d6d6;
  -webkit-border-radius: 0px 5px 5px 5px;
  -moz-border-radius: 0px 5px 5px 5px;
  border-radius: 0px 5px 5px 5px;
  -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
  -moz-box-shadow: 0 1px 2px rgba(0,0,0,.05);
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
}

How do I make it so that I can create a new line in the HTML using the class, instead of having it all on one line?

JSFiddle: http://jsfiddle.net/VzTxM/4/

  • 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-18T17:56:09+00:00Added an answer on June 18, 2026 at 5:56 pm

    I believe the issue you’re having (if i understand the question right) is that the display:inline-block; is adding a lil spacer when the HTML is on two seperate lines – you can fix this by flaoting the elements instead?

    CSS

    .form-profile-side,.form-profile {
        -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
        -moz-box-shadow: 0 1px 2px rgba(0,0,0,.05);
        box-shadow: 0 1px 2px rgba(0,0,0,.05);
        border: 1px solid #d6d6d6;
        background-color: #fff;
        float:left;
    }
    .form-profile-side {
      -webkit-border-radius: 0px 0px 0px 0px;
      -moz-border-radius: 0px 0px 0px 0px;
      border-radius: 0x 0px 0px 0px;
      vertical-align: top;
      border-right: 0;
      width: 120px;
    }
    .form-profile {
      -webkit-border-radius: 0px 5px 5px 5px;
      -moz-border-radius: 0px 5px 5px 5px;
      border-radius: 0px 5px 5px 5px;
      padding: 15px 15px 15px;
      width: 817px;
    }
    
    .clear {
        clear:both;
    }
    

    HTML

    <div class="span13">
      <form class="form-profile-side"><br><br></form>
      <form class="form-profile"><br><br></form>
      <div class="clear"></div>
    </div>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My problem is that I need to hide just the classes inside a div
Link: http://www.fraynepainting.com/services The problem is that div#dditem_2 (the div with the Take a look...
I am loading some text dynamically into a div, but have the problem that
i have the following problem with that code in my html tag: <div id=searchbar><input
So, here's the problem. I wrote a code that opens a div based on
A minimal code that reproduces the problem is as follows: <div class=cell> <input type=text
So I'm using the draggable=true for a div that holds couple of other divs
I want to have a div that animates the currently active image out of
Here is my JSFIDDLE CLICK HERE My problem is that I Have classes that
I have a problem : I use classes on a div for simplicity, 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.