04-13-2009, 07:46 AM #1
problem with navigation menu in my web page
- Member Since
- Oct 22, 2008
- Mac OS X version 10.6.8
Hi, I'm trying to design a web site.
I've a document for the html code and a document for the CSS code that is linked to the html doc. No problems with that.
The problem is that in the navigation menu on the home page I have a 'Home' button (as most web sites do).
The link set for this is obviously the home page document (ie. <a href="homepage.htm">Home</a>) But when viewed in a browser this button 'behaves' differently from the other buttons in the menu.
The font changes and is underlined. If I change the document in the link to a non-existent document however (ie. <a href="nothing.htm">Home</a>), it looks as it's intended to look (like the other navigation buttons in the menu) But obviously when it's clicked on it's not going to work.
I'm assuming it's because the page I'm looking at is what's in the link (the link is effectively active), and I'm guessing the same problem will occur when I use the menu on the other web page documents.
Could it be inheriting the style from a default rule I'm unaware of? Do I just need to use a special code when using a button for this purpose?
I've tried adding an a:active etc. rule in the CSS but this doesn't help.
It's complicated to explain but if anyone can understand what error I've made and can help I would really appreciate it as this has stumped me!
04-14-2009, 03:20 PM #2
- Member Since
- May 10, 2007
- Mac pro quad 2.66 / G5 1.8
If you want to pm a link to the site, I'll take a look. It's hard to say what's going on but it's got to be a problem in the css file.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By AlanWilson in forum OS X - Apps and GamesReplies: 3Last Post: 11-18-2011, 02:58 PM
By AnthonyM1987 in forum Web Design and HostingReplies: 1Last Post: 05-26-2010, 12:30 PM
By neilmarks in forum Web Design and HostingReplies: 0Last Post: 04-09-2010, 11:39 AM
By hookbill in forum OS X - Apps and GamesReplies: 0Last Post: 01-04-2009, 01:03 PM
By karonb in forum OS X - Apps and GamesReplies: 2Last Post: 01-04-2007, 08:55 AM