DIV Problem

Posted on 2012-09-02
Last Modified: 2012-09-03
Having a problem with a footer navagation bar, seems like it has pushed over on some pages. Looks ok on index.html but some of the other pages it has moved?

Please have a look...
Question by:fadercreep
    LVL 38

    Accepted Solution

    Compare these two...

    <a href="" target="_blank"><img src="images/CRC.jpg"></a>
    <div class="footer-img"></div>	                	
    	<div class="footer">

    Open in new window

    <a href="" target="_blank"><img src="images/CRC.jpg"></a>
    	<div class="footer-img"></div>	

    Open in new window

    The second one is from your index page, and it appears to have two </div> tags before the footer-img div, whereas your other pages only have one.


    Author Closing Comment

    Thanks, Im blind, in probably more ways than one.
    LVL 38

    Expert Comment

    Hey, I've done the same thing more than once! Just remember to validate your code, and you'll usually find things like failing to close containers, etc.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Join & Write a Comment

    Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
    Problem to be resolved in this article Currently, development of website and web application can be done without writing thousands of lines of programming code by hand. Description This can be done through by using a open source framework such …
    This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
    The viewer will learn how to count occurrences of each item in an array.

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now