Issue with multi-division sticky footer not functioning as intended

I'm having trouble with my website footer. I attempted to use the instructions from to keep the footer at the bottom of the page. Everything works correctly until I insert divs into the footer div - then, the purple background and image disappear. I would prefer to have it as a single div, but creating the zigzag edge without an additional box is proving difficult.

If anyone can offer assistance, I would greatly appreciate it! I've been struggling for days to solve this issue. Here is the HTML code:

    <body>
    <div id="wrapper">


     <!-- Begin Header -->
     <div id="header">

    <a href="index.html"><img src="images/logo.png" width="435px" height="112px" alt="Lauren Womack Logo" /></a>

    <div id="menu">
    <a href="/"><img src="images/menu/home.png" width="142" height="160" alt="Home"  /></a> 
    <a href="about.html"><img src="images/menu/about.png" width="131" height="157" alt="About"  /></a>
    <a href="contact.html"><img src="images/menu/contact.png" width="128" height="160" alt="Contact"  /></a>     
    </div>             
    </div>
     <!-- End Header -->
     <!-- Begin Content -->
     <div id="content">
    <div id="rightholder">
    <div class="outerleft">
    <div class="inner"><h2>Animation and Interactive</h2>
    </div> 
    </div>
    <div class="outerright">
    <div class="inner">
    <h2>Web Design</h2>
    </div>       
    </div>
    <div class="outerleft">
    <div class="inner">
    <h2>Print Design</h2>
</div></div>

    <div class="outerright">
    <div class="inner">
    <h2>Illustration</h2>
</div>   
       </div></div>          <!-- End Content -->
    </div>
    </div><!-- Begin Footer -->   
    <div id="footer">
    <div class="footeredge">  </div>
    <div class="footerinner">     <p>© Lauren Womack 2012</p>
    </div>        </div>   </div>
            <!-- End Footer --></body></html>

And here's my custom CSS:

    body {font-size: 13px; background: url(images/background.jpg) no-repeat center center fixed; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; height: 100%;}
    html {height: 100%;}
    #wrapper{ min-height:100%; min-width:992px; margin-left:0px; margin-right:0px;}
    #header {height: 170px; padding-top:36px; border: none;}
    #menu {float:right;}
    #content { position: relative; min-width: 1141px; border:none;background: none; overflow:auto; padding-right:32px; padding-left:32px; padding-bottom: 86px;}
    #rightholder { float: right; clear: left;min-width: 639px;width: 60%;padding-top: 90px;}
    .outerright {background-image:url(images/threadborder.jpg);min-width: 257px;width: 45%; height: 98px; margin-top: 22px; margin-bottom: 22px; margin-left: 20px;float: right;clear: right;}
    .outerleft {background-image:url(images/threadborder.jpg);
min-width: 257px; width: 45%; height: 98px; margin-top: 22px;margin-bottom: 22px;margin-right: 20px; float: left;clear: left;}
    .inner {padding: 5px; height: 87px;}
    #footer {position: relative; margin-top:-86px; margin-left:0px; margin-right:0px; padding-left:0px; padding-right:0px; height:86px; clear:both; padding-right: 32px; margin-left:0px; margin-right:0px; border: none;
    /*Opera Fix*/
    body:before {
content:"";
height:100%;
float:left;
width:0;
margin-top:-32767px;/
    }
    .footeredge {
background-color: none;
background-image:url(images/footer/zigzag.png);
    background-repeat:repeat-x;
    height: 20px;
    }
    .footerinner {
background-color:#663366;
height: 66px;
    }

The desired look can be seen here: . Unfortunately, the purple box at the bottom and the zigzag are not displaying properly, only the text appears.

Answer №1

The lack of a closing curly brace for #footer is causing the style declarations to be disrupted after this section.

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

What is the significance of the A tag when parsing a URL?

So, I encountered a problem that involved parsing a URL to extract the hostname and pathname, then comparing the extracted pathname with a string. If you need help with this issue, check out this post: How do I parse a URL into hostname and path in javasc ...

Using CSS to Position a Circle at the Top of a Border

Breaking down the complex issue into a simple statement, I am dealing with a blue circle inside a box with a red border. How can I ensure that the circle remains centered while overlapping the top horizontal line of the box's border? I tried differe ...

Scrolling the inner div with the main scrollbar before navigating through the rest of the page

In my hero div, I have a container div called right-col that contains two inner divs. These inner divs are sticky, creating the effect of cards sliding up when the container div is scrolled. This is the HTML structure: <!DOCTYPE html> <html lang= ...

Issues with storing data in localStorage have been identified in the Facebook browser for iOS

When our web app (built using React) is accessed through the Facebook browser on iOS and Android, we have noticed some unusual behavior with the local storage. Our authentication process relies on storing a token in local storage and then retrieving it. Th ...

Navigating through pages without using Javascript

While working on creating page numbers, I stumbled upon this intriguing CodePen: https://codepen.io/p-ziegler/pen/bmdaaN .b, input[type="radio"] { display: inline-block; width: 16px; height: 16px; vertical-align: middle; } .b { back ...

Mastering the art of extracting elements from an HTML Dygraph

Attempting to extract all data points from this particular website utilizing BeautifulSoup and requests in Python. The current code in progress is as follows: session = requests.Session() page = session.get(https://bitinfocharts.com/comparison/bitcoin-tra ...

Clickable CSS3 animations

Currently exploring the fundamentals of CSS3 animation and onclick events, but I've hit a roadblock. My objective is to utilize button id="3" to initiate the animation on the red square displayed here: https://jsfiddle.net/4swmegpn/ Additionally, I a ...

Tips for transferring value between custom elements in Polymer 1.0

I have developed two unique custom elements named student-details.html and student-service.html This is how the student-details.html file is structured: <link rel="import" href="../bower_components/polymer/polymer.html"> <link rel="import" hre ...

Altering the color of an image

I recently learned how to use the img_filter_colorize() function in PHP. I would like to offer users the option to select a color for an image, similar to this example. This is the code I have so far: <?php header('Content-type: image/png'); ...

Ways to match a string against a numeric value

I have a span id with textContent which have their own time(hour/minutes) <div class="here"> <span class="time" >8 min</span> </div> <div class="here"> <span class="time" >22 min&l ...

maintaining the alignment of one div's right boundary with another div's right boundary

---------------------- ----------------------------->edge X | | | | | logo | | dropdown menu ...

Bootstrap makes it easy to incorporate a designated space for handwritten notes on

<div class="row"> <div class="col-md-3 col-sm-3 col-xs-3"> <p class="classPadBottom0">Enter Your Credit Card Number:</p> </div> <div class="col-md-3 col-sm ...

Get rid of unnecessary markup rather than just hiding it in ASP.NET

Is it possible to completely remove unused controls from the codebehind when designing a page in ASP.NET instead of just hiding them? Hiding controls can result in whitespace on user screens. For example: <td> <uc1:GoToRequestControl id="UserCon ...

Is the Bootstrap carousel not automatically sliding on mobile devices?

I have implemented a Bootstrap carousel on my website where the user can choose between sliding manually or automatically. While it works fine on my computer, there seems to be an issue on my iPhone when I select the auto slide option. Below is the carous ...

Troubleshooting Problems with Image Width in CSS Styles

I am facing an issue with displaying 3 images in a row side by side. The first image is bigger than the other two, causing them to be pushed down to the next row, which is not what I want. I have created a class and specified the height and width, but it d ...

I am experiencing difficulty with my grid as it refuses to center elements

Hello everyone, this is my first post here. If I missed any important information or didn't present things correctly, please feel free to let me know. I'm currently a developer in training and recently had to work on my first website project aft ...

Swapping out bullet points for delicious food icons in an unordered list on an HTML page

I am working with the following code snippet: <div id="instructions"> <h3>Get it done</h3> <ol> <li>In a blender add the eggs, chocolate powder, butter, flour, sugar and milk.</li> <li>Then whisk ...

Unexplained vanishing of CSS padding upon form submission

Hey there! I've been working on creating a contact form using PhP, HTML, and CSS. Everything seems to be working fine except for one issue - when I submit the form with incorrect information, the CSS padding disappears. Can anyone help me figure out w ...

From where was this color of the navigation bar derived?

As I delve into a site previously worked on by someone else, my task is to recreate the navigation they implemented. However, I am unable to locate in the source code what was used for the navigation background. The challenge lies in the fact that after m ...

Issue with adding Django products to cart in a delayed manner

https://i.sstatic.net/uWwK3z7I.png[ The initial image depicts the add to cart button, which should trigger the addition of the product and display the cart modal with the added item upon clicking. The second image illustrates the expected outcome, but I ...