Nested columns containing images are overlapping - html

Referencing the image below, I do not understand why the images are overlapping. I have tried to reduce the image dimensions as well as use class="img-responsive". Adjacent to the column described by the code below is another col-md-6. Both col-md-6 are contained within a row.
<div class="col-md-6">
<ul>
<li>
When a user long presses on a cell, they will be presented an alert allowing them to either
edit the name of a given item, delete the item, or cancel the alert:
</li>
</ul>
<div class="row">
<div class="col-md-3">
<img src="images/ListMakeriOS/edit_or_cancel.png" alt="Initial long press dialog" width="300px">
</div>
<div class="col-md-3">
<img src="images/ListMakeriOS/edit.png" alt="Edit option selected after long press"
width="300px">
</div>
</div>
</div>

This happened to me also. .img-responsive is now .img-fluid in bs4+
I would remove the width="300px" which is wrong syntax anyway.
BTW, maybe you need to use .col-md-6 instead of .col-md-3 if you want the images to split evenly.

Related

can I have perfectly valid forms in this way

it seems to be simple , our designer made the a design of 3 different forms in one like page
as you may see in this snippet
I don't think we can do this design with valid html in twitter bootstrap grids ?
where you would get the form opening and closing tags and keep it valid
<div class="container">
<div class="col-md-4">
<div class="row"><div class="form1">form1</div></div>
<div class="row"><div class="form2">form2</div></div>
<div class="row"><div class="form3">form3 </div></div>
</div>
<div class="col-md-4">
<div class="row"><div class="form3">continue of form3 </div></div>
</div>
<div class="col-md-4">
<div class="row">
<div class="form3">
continue of form3
</div>
</div>
</div>
</div><!-- /.container -->
You cannot split a form element so that one part is inside one element and another part is inside another element. HTML syntax prevents that.
You can, however, have input elements and other controls outside a form element and associate them functionally with it using form attributes. Browser support is still too limited to make this a feasible option in normal situations.

Bootstrap 3 visible-xs class shifting grid

This is my html right now. Whenever I view it on a smaller screen, rather than appearing on the far right like it should according to the col, it appears in the center of the screen.
<div class='row visible-xs-block'>
<div class='col-xs-2 col-xs-offset-10'>
<h3>DFA Rice Blog</h3>
<h4>Archive</h4>
</div>
</div>
I'm looking for a way to fix this issue
Like it was suggested by Shawn, it's best to just use pull right and set your column the length you want instead of trying to play with an offset. Something like this should work perfectly:
<div class='row visible-xs-block'>
<div class='col-xs-12'>
<div class="pull-right">
<h3>DFA Rice Blog</h3>
<h4>Archive</h4>
</div>
</div>
</div>

Attributes from one class carrying over to another...

Please review the Fiddle Here...
I am trying to separate some elements here and I'm having a tough time. All my div tags appear correctly separated, but I'm not getting the separation.
For example, I've got a button, then a clear, then a paragraph.
But, the paragraph is actually showing up inside the button, after the clear.
<div id="container">
<div id="header">Transfer of Credit Estimator</div>
<div id="content">
<div id="classes">Enter total number of classes estimated for transfer, then click <strong>Estimate</strong>.
</div>
<input type="text" class="" placeholder="#">
<div id="btn">Estimate<div> <!-- Button -->
</div>
<div class="clear"></div>
<p>Hi</p>
<div id="footer">**The Estimator is based on classes that would transfer in as 4-credit courses that cost $1,608 each ($402/credit hour) here at University. The Estimator assumes that each class would be a 5-week class.</div> <!-- Footer -->
</div> <!-- Close Container -->
</div>
On top of that, the footer is taking on attributes from the '.btn' class, such as the font-family and font-weight.
Thoughts on what I'm doing wrong here?
The button div is not closed. It should be:
<div class="btn">Estimate</div>
The button div is not closed
<div id="btn">Estimate<div>
instead it should be
<div id="btn">Estimate</div>
Your browser tries to correct you missing closing tag and that creates the attributes to shift

Not able to differentiate Pop-up

I have different pop-up with similar className but with different TEXT. I am not able to identify the different pop-up's due to the similarity.
Right now I am using xpath : //*[#id='popupMessageContentDiv']/div[2] ---- (For All Pop-up)
Here is the HTML Code:
<div class="modalContent dynamicWidth">
<div class="padDiv msgcontent f14">
<div class="bld f14 "> text text </div>
<div class="btnok mr50px mt20px">
<a class="simplemodal-close" title="OK"/>
</div>
</div>
</div>
Is there anyway to diffrentiate the Pop-up.

bootstrap: Slider on 2 spans ? - one span=image, one span=textblock

I have some segments that are similar on my page, same setup - one icon-logo and one text-area:
<div class="row-fluid">
<div class="span7">
<img src="img/icon2.png" alt="" />
</div>
<div class="span4">
<h6>My Text Area</h6>
<p>Description of that functionality<br>
Multi lines of text<p>
</div>
</div>
Just basically an icon and a description text, started out with having 2 of these which is alright, now there is 8 and i think i would like to gather it in one segment, but then slide between the 8 icons/descriptions.
So my question is, any chance or any component available where i can put in 8 of these in a slider-effect way ? most sliders I've looked at is image sliders, but since i need to have multi-language i don't want to convert the 2 spans into 1 image.
I am not an expert in web development so an example would really be appreciated if its possible.
You can use bootstrap carousel for this.
This is the markup they expect
<div class="carousel-inner">
<div class="active item">[here]</div>
<div class="item">[here]</div>
<div class="item">[here]</div>
</div>
All you need to do is to have your two spans inside the element with class item.
Check this fiddle. Hope this is what you wanted.