Utilize Bootstrap to stylishly fill in gaps within your

I am facing an issue with some simple code:

<div class="wrapper_big">
<div class="row-fluid grey">
<div class="span4">Logo goes here</div>
<div class="span8">Menu goes here</div>
</div>
</div>

Along with the following CSS:

.grey{background-color: #eeeeee;}
.wrapper_big {width: 1100px; margin: 0 auto;}

There seems to be extra space after the spans, which can be seen in this image:

How can I remove this extra space?

Update: View fiddle with extra space.

Answer №1

Include this in your stylesheet:

.span12 {
    min-height: inherit !important;
}

Answer №2

To make custom adjustments, update the row-fluid class in your CSS:

.row-fluid{ height:?px;  or  padding-bottom:0px }

For the wrapper_big specifically, use:

.wrapper_big .row-fluid {height:?px;  or  padding-bottom:0px}

Modified

@media (min-width: 1200px){
min-height:30px; }

This code was copied from Google Chrome's Element Inspector.

The .row-fluid class has a minimum height set to 30px.

Simply remove this property to resolve the issue.

Answer №3

Examine the height of the element with class .grey in the provided links to observe any variations.

Link1

Link2

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

Receiving a null value when using getElementById

I am attempting to read and display a text file, but the Chrome console is showing an error: caught TypeError: Cannot read property '0' of undefined FinanceDashBoard.html:22" I'm not sure where I am going wrong? The code I am using is: & ...

How can I use jQuery to create a new div element if it is not already present

I am familiar with how to add a class if it does not already exist, for example: $("ul:not([class~='bbox'])").addClass("bbox"); Alternatively, if(!$("ul").hasClass("class-name")){ $("ul").addClass("bbox"); } However, I am unsure how to c ...

Add a Page to Your Domain Name using the Text Input Box

I'm looking to create an input field that allows users to enter a text string, which will be added to a domain name when submitted, redirecting the user to a specific page. Here's how the process works: The user enters 'foo' into the ...

Guide on displaying a modal from a separate file onto my HTML page with Laravel and Ajax

In my project, I am utilizing Laravel and AJAX. Inside the index.blade.php file, I have the following code: <a onclick="addForm()" class="btn btn-success " style="float:right;">Tambah</a> Additionally, I have the following script: <script ...

Achieving centered body content on a webpage through CSS

I have completed the design of a webpage and utilized CSS for positioning elements. The current layout consists of a Header, Horizontal Menu, and a Content Section with 2 columns, all of which are set to the same width. Although I have successfully aligne ...

Tips for adjusting the width of the box-shadow in CSS

I am facing a challenge with my button that has a box-shadow effect on hover. Currently, I am unsure how to adjust the width of the box-shadow effect. Here is a snapshot of my button's current appearance: https://i.stack.imgur.com/Mg0df.png</p&g ...

retrieve the parent id of <ul> elements and store them in an array

Here is the html code I am working with : <form> <ol> <li id="1" name="grandparent">Grand Parent <ol> <li id="2" name="parent">Parent <ol> <li id="3" name="child">Child < ...

What is the best way to load a targeted quantity of content on a social media platform's webpage?

Building a social media style platform, I attempted to simulate multiple users being active by opening several tabs. To my surprise, when checking the task manager, I found my Apache web server was consuming around 20% of CPU. After some debugging and scri ...

Creating HTML code from a website by utilizing XML

As someone who is not a developer and doesn't have much knowledge about java, I am seeking advice on potential solutions to achieve the following. This web hosting service enables users to retrieve data from their XML spreadsheets and embed them anyw ...

Error: The context parameter should be in the form of a dictionary, not a set

I am currently working on integrating these two different perspectives. My goal is to merge MenuView with add_to_menu so that even if the if statement produces a negative result, the menuview section will still execute and display the menu on my HTML page. ...

The form continues to submit even if the validation process fails

I am facing an issue where my form still submits to the controller even if the validation fails. Here's my jQuery code: $(document).ready(function () { $('#commentForm').validate(); }); $(function () { $('#commentForm&ap ...

Improper layout on laptop screens with smaller dimensions

The design looks great on a 24-inch laptop, but on an 11-inch screen, the layout becomes distorted. The right column shifts down... Check out the layout here Below is my code: <div class="row" style="margin-left: 325px;"> <div class="span12 ...

Show the selection of form in a div using React

I am currently working on developing a user interface that dynamically updates based on the selection made by the client in a dropdown menu. The structure I have set up includes a React Parent component named App that renders two child components called In ...

What is the best way to display an alert when the button is clicked repeatedly?

Is it possible to keep displaying the alert every time we click the button, rather than just once after clicking it? I currently have an alert set to trigger when a button is clicked, but it disappears after 3 seconds. How can I make it show up again with ...

Tips for transferring complete HTML content within a JSON payload

I've been working on a jQuery script to convert an entire HTML page into JSON text. My goal now is to transform this code into a JSON string. In the resulting JSON: The 'text1' value will store the complete HTML in a single string format ...

Choosing from a variety of tr elements

I'm working with a table in HTML that has about 100 rows. I would like to apply different colors to specific groups of rows, such as making rows 1-10 red and rows 20-40 blue. Using nth-child seems like an option, but it can get quite verbose if I nee ...

Enhance user experience with JQUERY - MouseEnter, Focus, Hover, and Blur

Here is the current code snippet for showing and hiding a footer banner. Everything seems to be working fine except for an issue with MouseOver functionality. The MouseOver feature works as expected, but when a user clicks within the area, the highlight d ...

Arranging cards in a row using HTML or CSS for a dynamic reveal effect

Could someone assist me with my HTML code? I am struggling to figure out why my two cards are not displaying side by side on my webpage. I would also like them to be able to resize based on the size of the page. In the past, I was able to achieve this wi ...

What is the syntax for implementing conditional statements within the style jsx of Next.js?

Recently, I've been exploring the use of <style jsx> in my Next.js project and encountered a scenario where I needed to style an element based on a conditional statement. Additionally, my project relies on tailwindCSS for styling: <div classN ...

The outcome of the method is not being displayed

I have an issue with updating the value of an array method in an HTML file using the p tag. The problem is that even though the method returns the value, the HTML doesn't update to reflect the new value. Strangely, when using console.log, the value ap ...