[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 418
  • Last Modified:

DIV Problem

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...

http://www.cowlickstudios.com/development/ak2/certified.html
0
fadercreep
Asked:
fadercreep
  • 2
1 Solution
 
lherrouCommented:
Compare these two...

<a href="http://www.canroof.com/" target="_blank"><img src="images/CRC.jpg"></a>
				</div>
<div class="footer-img"></div>	                	
	<div class="footer">

Open in new window


<a href="http://www.canroof.com/" target="_blank"><img src="images/CRC.jpg"></a>
				</div>

			</div>

	<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.

Cheers,
LHerrou
0
 
fadercreepAuthor Commented:
Thanks, Im blind, in probably more ways than one.
0
 
lherrouCommented:
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.
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now