...

View Full Version : Inexplicable gap between header and Nav bar



emu_robot
11-17-2010, 09:47 PM
Hi there...

I'm pretty new to this, but I've given myself the task of having rounded corners on my website. The problem is I have a left and right div to hold the rounded edges and the navigation in between with a repeating gradient image, however, there's about a 20px gap between the header and the middle nav div, even though the left and right are flush to it.

Here's what it should be like...

http://www.emuspace.co.uk/canarytest/home.jpg

but here's what it's coming out as...

http://www.emuspace.co.uk/canarytest/canaryindex.html

If there's not a simple solution to this, is there a better way of achieving the same effect?

Thanks in advance!

Emu x

RainingNails
11-17-2010, 10:28 PM
Try adding:

margin-top: 0px;

to

ul#list-nav

Which is in line 55 or so of your CSS...

It looks like there is a style clash between your ul#list and the nav. This might fix it.

emu_robot
11-18-2010, 10:17 AM
Brilliant! Thankyou. I'd thought of zeroing the margins before, but I only applied it on the wrong element and so it didn't work. Thanks again.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum