The full extent of the background color is not reaching 100% of the height

My content wrapper has a height set to 100%, but the issue is that the background color doesn't fully extend across all content. Here are some images and my code for reference. Any assistance would be greatly appreciated! You can see the white space after my wrapper in this link: https://i.sstatic.net/fnCkY.jpg

Here's the HTML code (the part that's not working is the div outerColor):

<p id="dimensions"></p>
<div id="windpageTitle">

    <div class="headerContent">

        <nav>

            <ul class="navDown"> 
                <li><a href="../index.html">Home</a></li>   
                <li><a href="#windSubtitleSavings">Save</a></li>  
                <li><a href="#windSubtitleLocation">Locations</a></li>  
                <li><a href="#windSubtitleStart">Activate</a></li>     
            </ul>

            <a href="#" class="subMenuIcon"><p class="menu"></p></a>

        </nav>

        <h1 class="pageTitleText">Wind.</h1>

        <div class="pageNav">

            <ul class="navLink">

                <li><a href="../index.html">Home</a></li>
                <li><a href="#savingsSub">Savings</a></li>
                <li><a href="#locationSub">Location</a></li>
                <li><a href="#SubtitleStart">Start</a></li>

            </ul>

        </div>

    </div>

</div>

<div id="outerColor">

    <div class="innerContent">

        <div id="savingsSub">

            <p class="graph"><img src="../images/graph.png" width="500px" height="500px" /></p>
            <p class="savingsText">Text here</p>

       </div>

       <div id="locationSub">

            <p class="map"><img src="../images/mapWind.png" width="500px" height="257px" /></p>
            <p class="locationText">TEXT HERE</p>

        </div>



    </div>

</div>

And here's the CSS code:

#windpageTitle {
    background-color: #fff;
    width:100%;
    height:170px;
}

#outerColor {
    background-color:#666;
    width:100%;
    height:100%;
}

.innerContent {
    position:relative;
    width:90%;
    margin:auto;
    text-align:center;
}

#savingsSub {
    position:relative;
    display:table;
    padding-top:40px;
    width:1300px;
    float: left;
}

.savingsText {
    display: table-cell;
    vertical-align: middle;
    float:right;
    padding-right:30px;
    padding-top:125px;
    width:700px;
    font-family: 'Oxygen', sans-serif;
    font-size:18px;
    color:#fff;
    line-height:25px;

}

#locationSub {
    position:relative;
    display:table;
    padding-top:55px;
    width:1600px;
    float: right;
}

.locationText {
    display: table-cell;
    vertical-align: middle;
    float:left;
    width:700px;
    padding-left:350px;
    padding-top:55px;
    font-family: 'Oxygen', sans-serif;
    font-size:18px;
    color:#fff;
    line-height:25px;
}

.graph {
    float:left;
    width:500px;
    height:500px;
}

.map {
    float:right;
}

Answer №1

Kindly include all HTML content enclosed within the specified elements along with accompanying CSS. The task seems quite challenging now!

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

Left-aligned and centered - Bootstrap

I need help figuring out how to center a list of items on the page, but have them aligned left. I am using bootstrap. I want the text to be in the center of the page but aligned left. <ul class='text-center'> <li class=& ...

Expanding the width of a Datatables within a Bootstrap modal

While working on my modal, I encountered an issue with the width of Datatables. Despite trying to adjust it to fit the modal size, it appears like this: Below is the jQuery code calling the Datatables: function retrieveTags(){ var identifier = $(&a ...

Isolating the controls bar from the video content area within JWPlayer

Currently, I am utilizing JWPlayer for my video playback needs. I am curious if there is a method to separate the controls bar from the video content, similar to the design showcased in this link: Alternatively, are there any techniques available to add m ...

Issue with grid breakpoints for medium-sized columns and grid rows not functioning as expected

I'm working on building a grid layout from scratch in Vue.js and have created my own component for it. In my gridCol.vue component, I have defined several props that are passed in App.vue. I'm struggling to set up breakpoints for different screen ...

Updating a Div on your webpage using a JQuery UI dialog: A step-by-step guide

I am currently trying to update my webpage from a JQuery UI dialog, but the code I have so far does not seem to be working. Any assistance or guidance would be greatly appreciated. function submit_new_site() { // These are the input text IDs on the ...

Hamburger Icon in Bootstrap Navbar-Brand is not aligned as expected

I'm currently working on a website project using Bootstrap and have encountered an issue with the navbar component. When the screen shrinks to the breakpoint I've defined (lg), the alignment of the hamburger icon gets disrupted, as shown below. ...

Show an image when hovering over a dot using CSS - without hovering directly on the image

I'm currently working on a merchandising page that involves photoshopping several products onto a background image. I want customers to be able to hover over a dot positioned on each product to reveal its information and provide a link similar to . Ho ...

Ways to compel links to open in Internet Explorer

In one of my chatbot messages, I have included a link to a web app that is only compatible with Internet Explorer. My chatbot runs on Google Chrome, so when the user clicks on the link, it opens in a new Chrome tab instead of in IE, where it should open f ...

Interact with HTML Radio Buttons to Trigger Input Opening

I need to have a message saying "We're sorry..." and a "black box" displayed only when the radio button is set to YES, otherwise keep it hidden. Can I achieve this using JavaScript only, or is there a way to do it with HTML alone? <h3 >Did you ...

Design a basic button that does not adopt any of the CSS attributes from Bootstrap

Currently, my styling is done using Bootstrap.css. However, I am interested in creating a straightforward <button> without incorporating any of the CSS properties from Bootstrap. Specifically for this <button>, I do not want it to inherit any ...

Tips for concealing content within table cells

I am facing an issue with my form that contains a table. When the user clicks on the radio button labeled "No", I want the content of the subsequent cells in that row to become visible. However, when they click on "Yes", the content should be hidden again. ...

Using a restricted set of special characters in a jQuery regular expression

My requirement is to only allow alphanumeric data along with the following special characters: ' (single quote) - (hyphen) . (dot) single space I attempted this approach: var userinput = $(this).val(); var pattern = [A-Za-z0-9_~\-!@#\$% ...

The function cannot be applied to the size of the map within the action payload

Is there a way to replace the for loop with the map method? The data structure for book.pages is in the format [{},{},{}] I tried using the size method and included this line console.log("book.pages.map.size();--->", book.pages.map.si ...

Identifying the Nearest Div Id to the Clicked Element

When a link is clicked, I am trying to locate the nearest div element that has an id. In this specific scenario, the target divs would be either #Inputs or #Stages. For example, if Page1 through 4 is clicked, I want to store the id #Inputs in a variable. ...

Unable to execute a JavaScript function when triggered from an HTML form

This is the code for a text conversion tool in HTML: <html> <head> <title> Text Conversion Tool </title> <script type="text/javascript"> function testResults(form) { var str = form.stringn.value; var strArray = str.split(" ...

Creating an interactive HTML form that updates in real-time based on user input can be achieved using vanilla JavaScript. This allows for a

I am working on a form that dynamically generates more form fields based on a user input value. <form> <input type="Number" name="delivery"> </form> For example, if the user enters '3', it should automat ...

What is the best way to showcase data from input fields within a bootstrap modal dialog?

After the user has entered their details and clicks submit, I would like to present the information in a Bootstrap modal with a confirmation button below. This serves as a preview of the data before it is saved to the database. Here's what I have so ...

Breaking down a string and then retrieving elements from an array

Just diving into the world of Javascript and jQuery, so I have a simple query. I've got a date that I need to break down into a string and then display it as an array. var date = "12/10/2010"; var dateArray = date.split(/); $('#printbox') ...

Increase the identification of HTML element with jQuery

I've encountered an issue while trying to increment the id of 2 HTML elements, hwAddition and itemNumber, upon a button click event. The HTML code in question is as follows: <div id="hwAddition"> <div id="itemNumber" s ...

Guide on creating a hand-drawn pencil circle using only CSS!

Is anyone familiar with how to create a hand-drawn pencil circle hover effect using pure CSS, without relying on SVG like the one featured on CodeMyUi? I've seen examples accomplished with SVG, but I'm specifically interested in achieving it usin ...