?
Solved

css specific property on bootstrap

Posted on 2015-01-20
1
Medium Priority
?
212 Views
Last Modified: 2015-01-21
Hi there!

The problem I need to solve is shown in the image attached. The problem appears in the second instance of the "div" that appears - here just once - at the bottom of this post.)

In other words... the recordset value (in bold) may take different "heights" , and I would like to change some css property (I guess in "input-group-addon" or in the "input-group") to allow this "automatic alignments" to work as expected.

I also suspect that something should be modified here (present at bootstrap.css):

input[type="radio"],
input[type="checkbox"] {
  margin: 4px 0 0;
  margin-top: 1px \9;
  /* IE8-9 */
  line-height: normal;
}

but, of course, I am not sure and I don´t know how should I modify it (if it is really the case)...

Thanks,
fskilnik.

----------------------------------------------
<div class="form-group has-warning [modified just the color] has-feedback">
          <label class="control-label" for="inputGroupWarning1"> </label>
          <div class="input-group">
          <span class="input-group-addon"><%=(myRecordSet.Fields.Item("PgQuestAltA").Value)%></span>
          <input type="text" class="form-control" id="inputGroupWarning3" aria-describedby="inputGroupWarning3Status">
          </div>
          <span id="inputGroupWarning3Status" class="sr-only">(warning)</span>
          </div>
css-problem.gif
0
Comment
Question by:fskilnik
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
fskilnik earned 0 total points
ID: 40562850
Hi there!

I remembered I had a "similar" (CSS) problem in the past and the solution (by Scott Fell) worked here as well!

The link to the problem and solution is the following:

http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/CSS/Q_28478925.html

And to make it work, you have to do the following:

01. Put the "special style" (given below) right after the begining of the <head> section:

<style>
    .special{
              float:left;
              width:300px;
              padding:10px;
              min-height:50px;
              border:solid thin
     }
</style>

(Scott called this "special" style by "one" style but, of course, this does not matter.)

02.  Change this line (in the given code at my question post above):

<input type="text" class="form-control" id="inputGroupSuccess3" aria-describedby="inputGroupSuccess3Status">

To this new one:

<input type="text" class="special form-control" id="inputGroupSuccess3" aria-describedby="inputGroupSuccess3Status">

All the rest does not need any change! Done!!

Regards,
fskilnik.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses four methods for overlaying images in a container on a web page
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The purpose of this video is to demonstrate how to properly insert a Vimeo Video into a WordPress site or Blog. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp…
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question