Jump to content

Any idea why my links wont work?

Recommended Posts

Hi people,

I'm doing this website and its really stressing me out hahaha. It's the first website I've ever created using just divs and css, no tables. I've got the layout how I want but for some reason the links wont work.

 

The linked pages don't exist yet but when you put curser over it wont let you click on them. Any idea?

 

http://www.djl-webdesign.co.uk/bbsc/

Share this post


Link to post
Share on other sites

Your H1 in the div Content is overlaying the links in the div Navigation.

 

If you give the navigation div a height it will work (although the H1 gets pushed down).

 

Actually (a bit of trial and error) if you remove the position:relative that you've put on everything then it will work.

 

you don't need to define the position unless you are actually going to use it, which you aren't.

 

Specifically - remove position:relative from the div with id content.

Share this post


Link to post
Share on other sites

Brilliant cheers :) Divs are a right pain haha. I did 3years at college and they taught us nothing. Ally their taught us were basic html which is now obsolite

Share this post


Link to post
Share on other sites

I had one of those at Tramlines - the Flaming Lips one - very nice!

Share this post


Link to post
Share on other sites

The easiest way to debug these things IMO is to use firefox and the firebug plugin. You can change the css that is being applied to the divs in real time and see what the effect is, that's how I figured out what you'd done wrong.

Share this post


Link to post
Share on other sites

there is nothing wrong with html mark up it should work just fine. If you need professional help. you know where to find me.

Share this post


Link to post
Share on other sites
there is nothing wrong with html mark up it should work just fine. If you need professional help. you know where to find me.

 

Nothing wrong with html in general? Or nothing wrong with the OPs html (2 weeks after he was advised on how to fix it)?

Share this post


Link to post
Share on other sites

You should also (honestly) try and avoid using the <center> tag, and align it by DIV in the CSS.

Share this post


Link to post
Share on other sites

Perhaps the links are suffering from wear and tear??

 

no seriously - that's what a major web agency tried to fob us off with - needless to say that was the nail in the coffin ...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.