[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 218
  • Last Modified:

css specific property on bootstrap

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
fskilnik
Asked:
fskilnik
1 Solution
 
fskilnikAuthor Commented:
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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now