Site address added to external link.
I am trying to write a website. When I put the site live the site address appears infront of any external link.
so, in dreamweaver I have this code;
but when live it appears as;
You can see it happening yourself;
on the source here the href is as it should be.
I have no idea why this is happening, can someone please help.
it does this in firefox, ie & chrome but not safari.
most likely you just need to remove the <base> tag.
on another note. Your html needs some serious help. you have over 10 divs with the same id. 127 errors on the validator. -
Removing <base> does not seem to have fixed the problem.
As for all the errors...you can tell I dont know what I'm doing, I've never done HTML before and am making it up as I go along.
hmm. oh also your urls are all started with http:/ and they shoudl be http://
That fixed it, what a dumb mistake.
Cheers, much appreciated.
Any really stupid things I'm doing?
1. the ID thing. ID's should always be unique( only used once) while multiple elements can have the same class.
2. you need to declare a proper doctype
3. that is not how you add a favicon to a page see http://www.htmldog.com/reference/htmltags/head/
4. Stop using inline style rules, the 80's are over man . you need to start learning hwo to use CSS properly : Start here: http://www.htmldog.com/guides/cssbeginner/
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)