Aligning Images to the Bottom

I've been attempting to align the last two images to the bottom along with the first one, but I'm not having any success.

.image-wrap img {

width:100%;
height:auto;
positon:absolute;
display:inline-block;
vertical-align: bottom;
display: table-cell;}

.image-wrap {

text-align:center;
width: 100%;
height:auto;
position: relative;
vertical-align: bottom;

}

Check out the code here: http://jsfiddle.net/uvh7w/

Answer №1

Feel free to incorporate the code snippet provided below into your CSS file for an immediate fix: http://jsfiddle.net/ZzJw9/. While this solution serves as a temporary patch, a more thorough revamp of your existing code is advisable for long-term stability and functionality enhancements. The decision to undertake such changes rests entirely in your hands.

[class*='col-'] {
    float: none;
    padding-right: 20px; 
}

#hehe > .grid.grid-pad {
    display: table;
    width: 100%;
}

#hehe > .grid.grid-pad > * {
    display: table-cell;
    outline: 1px solid blue;
}

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Necessary form group in html [Angular]

Is there a way to make certain form fieldsets required while allowing the user to choose which inputs to fill? My idea: Users can select what they want to fill out without having to complete all of the fieldset inputs. I have these two options: 1: < ...

How can you easily make a div scroll vertically in the Android Browser?

Important Note: While similar questions have been asked before, it's important to consider that the mobile web is constantly evolving. The discussions from a few years ago may no longer be relevant due to updates and changes in technology. I am curre ...

No content in Django's Bootstrap dropdown menu

I need assistance with extracting a list of objects and placing them in a dropdown menu. I have successfully achieved this, but the issue seems to be related to my HTML structure. Here is the code snippet from my HTML: <div class="dropdown"> < ...

Section of links spanning 4 columns in full-width

Planning to design a 4 column link section for an upcoming website, aiming to achieve the look in the provided screenshot. https://i.sstatic.net/pydBp.png Each box will serve as a clickable link, changing color on hover. Utilizing the Bootstrap framework ...

What is the best way to display a single instance of a React component that is declared in multiple locations within the app?

Imagine I have 2 main components, A and B. Now, component C needs to be created inside both A and B. How can I guarantee that the same exact instance of C is generated in both places? Essentially, I want them to stay synchronized - any changes made to one ...

Items that share identical height and margin values will appear with divergent visual presentations

I am trying to align three horizontal lines so that they are the same height and have an equal spacing between each other. However, due to variations in height and margins, some lines appear larger or smaller than others. How can I ensure they all have th ...

Sketch a line extending from one element to the next

Is there a way to create a styled line that starts from the center of one <td> element and ends at the center of another? I attempted to use the jQuery Connections plugin but it only connects the edges of the elements, not their centers. The plugin ...

Use two HTML forms, each one only submitting its own form for validation

Managing two forms on a single page can be tricky. One form is specific to the current page, while the other is a side form that appears on every page. I've successfully implemented a validator to highlight incomplete fields with red boxes for the fir ...

Effective Methods for Implementing CSS Variables within nth-child Selectors

Objective: To pass a variable successfully as a parameter to nth-child. The task is to make the third line turn green in the example provided. Dilemma: Currently, the parameter is being disregarded as a variable. Inquiry: Is achieving this possible? If s ...

Tips for adjusting the color of multi-line text when hovering with the mouse

I'm facing a challenge in changing the color of text when someone hovers over it, but so far I've only been able to make it work if the mouse scrolls over the top border of the text. The text I'm testing is located in the top left corner an ...

minimize the size of the image within a popup window

I encountered an issue with the react-popup component I am using. When I add an image to the popup, it stretches to full width and length. How can I resize the image? export default () => ( <Popup trigger={<Button className="button" ...

What's the best way to target an element that is outside a certain parent container, but based on the parent's class?

Looking to target specific divs with a data-role of content that are not nested within a data-role="page" div with the class "modal". Advanced CSS selectors are not my forte. <div> <div data-role="page"> <div data-role="content" ...

Participants will utilize functions to predict a number between 1 and 1000

I am currently working on a project that involves creating a number guessing game for the user. The idea is to have the program generate a random number between 1 and 1000, and then prompt the user to guess the number. If the guess is too low or too high ...

Pictures failing to appear in css/jquery slider

I have a total of 12 divs that are configured to display a thumbnail along with some text dynamically retrieved from a database query. When displayed individually, they appear fine in a column format with a border around them showcasing the thumbnail and t ...

Issues with updating table data when clicking the "Remove Selected" button a second time in Angular 8

Whenever I click the "Remove Selected" button on my table, the selected rows with checkboxes should be deleted. The issue is that it works perfectly fine the first time I click the button, but if I repeat the same steps (click the checkboxes and then click ...

Placing an eye icon on the password input field for optimal visibility and positioning

I am currently working on a Node.js project and I am attempting to incorporate an eye icon using Bootstrap into the password input field for visibility. Below is the code snippet of my input field: <div class="container"> <form ...

Combining AngularJS and Java to create dynamic web applications in HTML5 mode

I'm developing a platform that uses AngularJS for the frontend and Java with Jersey for the backend. However, I've encountered an issue when trying to eliminate the "#" from the URL using $locationProvider.html5Mode(true);. When I click on a li ...

retrieving a data input from HTML and showcasing it on a PHP webpage

Instructions: Create a text field using HTML for users to enter email and password data. When the submit button is clicked, the page specified in the form tag URL will load. In the PHP page that is loaded, display the email entered by the user. What code ...

What is the reason for the jQuery function not being recognized?

I have encountered a jQuery function that is supposed to replace the default value of "$" with something like "default value". However, for some reason, it seems like the function is not taking effect. <div class="form-group"> @Html.Label("Pr ...

Displaying SQL data in a table using PHP

I've encountered a dilemma where the category name is being outputted as the same for both offered and wanted categories in PHP. This issue arises when trying to display categoryName differently for each type of category in a table. Despite attempting ...