3 replies [Last post]
inu_asbestos
Offline
newbie
Last seen: 17 years 51 weeks ago
Joined: 2003-12-08
Posts: 2
Points: 0

Hi,

I've been working on a new layout for my site http://www.headwillcollapse.net, which can be seen by clicking the "Fear and Loathing edition" link on the front page. It's still horribly broken under IE, but I've been developing under Mozilla and using that it looks much closer to how it should (in terms of layout). However, the floated div containing the Navigation links has "died" and none of links are "clickable". Does anyone know of a way around this problem? Any help would be greatly appreciated. Thanks,

Ian

Stu
Stu's picture
Offline
Enthusiast
Bristol uk
Last seen: 17 years 45 weeks ago
Bristol uk
Joined: 2004-01-20
Posts: 282
Points: 0

Dead links in float

Add ~

position:relative;
z-index:100;

to #nav

It is being 'hidden' by #rest

It's not what you do it's the way that you do it.
So do it with STYLE
http://www.s7u.co.uk

inu_asbestos
Offline
newbie
Last seen: 17 years 51 weeks ago
Joined: 2003-12-08
Posts: 2
Points: 0

Perfect

Thanks, that works perfectly. I'd already tried adding a z-index value but it seemed to have no effect, is it dependent on the inclusion of the position value?

Ian

Stu
Stu's picture
Offline
Enthusiast
Bristol uk
Last seen: 17 years 45 weeks ago
Bristol uk
Joined: 2004-01-20
Posts: 282
Points: 0

Dead links in float

Yes. z-index can only be applied to position:relative and position:absolute.

In this cas the position relative does not affect the position of the nav and the z-index brings it to the front.

It's not what you do it's the way that you do it.
So do it with STYLE
http://www.s7u.co.uk