Solved

css specific property on bootstrap

Posted on 2015-01-20
1
202 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
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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
The purpose of this video is to demonstrate how to automatically show related posts at the bottom of a blog post in WordPress. This will be demonstrated using a Windows 8 PC. Plugin “Yet Another Related Posts Plugin” will be used. Go to your…
The purpose of this video is to demonstrate how to manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…

862 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now