Solved

css specific property on bootstrap

Posted on 2015-01-20
1
199 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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
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 Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…

762 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

12 Experts available now in Live!

Get 1:1 Help Now