Click to See Complete Forum and Search --> : Why the heck is there a question mark beside my link????


webwarrior925
03-03-2007, 07:40 PM
http://www.adamcampbellportfolio.com

In firefox there is a ? beside my home link on the main page. In IE its fine, but I looked at the source code in firefox and it showing the ? right beside the div. I opened the file from my computer and there is no ? to be found. Is it because I inked the HOME page as index.html? I'm confused :(

bathurst_guy
03-03-2007, 07:54 PM
God that takes a while to load..
Set the iso type and see if it happens. What program are you using to create this?

webwarrior925
03-03-2007, 08:45 PM
I used dreamweaver, but all of the code is pretty much typed myself.

ray326
03-03-2007, 09:08 PM
I'm seeing no ?s anywhere.

webwarrior925
03-03-2007, 09:37 PM
I'm seeing no ?s anywhere.


Are you using IE or firefox? I am using firefox 2.0 and I see it.

drhowarddrfine
03-03-2007, 10:01 PM
ray,
It's there if you set the character encoding to utf8.

webwarrior,
As mentioned by bathurst, set your character encoding and fix your incomplete doctype.

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

and in the <head>

<meta http-equiv="content-type" content="text/html;charset=utf-8">

Centauri
03-04-2007, 09:04 AM
Excerpt from your code <!-- links div-->
<div id="linksbar">�

<a href="index.html"> Home </a>
The question mark is there...

Cheers
Graeme

ray326
03-04-2007, 03:23 PM
Sorry but with Fx 2 on Windows I can't make "?"s regardless of encoding settings.

webwarrior925
03-05-2007, 10:53 AM
Thanks everyone I got it fixed yesterday. :)

The Old Sarge
03-05-2007, 01:32 PM
So how about sharing the problem/solution. ... so others might learn. :D

webwarrior925
03-05-2007, 10:25 PM
I just ended up changing the doc type. I still have quite a few errors before it's validated.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />


Thats what I added and no more ? beside the home link. :)

drhowarddrfine
03-05-2007, 11:11 PM
Why did you select transitional? What are you transitioning from?

webwarrior925
03-06-2007, 12:12 AM
Why did you select transitional? What are you transitioning from?

I tried what you gave me in an earlier post, but it didn't work for some reason. So I opened up a new HTML document in Dreamweaver and copied the code from that and it worked.

Centauri
03-06-2007, 02:58 AM
Thats what I added and no more ? beside the home link. :)

If you look at my post above, the code there was an excerpt of the source of your page at the time, and the question mark is clearly present in the source after linksbar"> and does not appear in the source now - changing the doctype will not change other content on the page, so the question mark had to have been removed from the source code.....

webwarrior925
03-06-2007, 12:48 PM
If you look at my post above, the code there was an excerpt of the source of your page at the time, and the question mark is clearly present in the source after linksbar"> and does not appear in the source now - changing the doctype will not change other content on the page, so the question mark had to have been removed from the source code.....


These are my exact steps I took to solve this problem.

Friend found ? beside Home link on the home page and tutorial page.

I checked it in firefox and IE. Only showed up in Firefox.

Looked at source code for firefox and it was there like you stated.

Opened index.html in dreamweaver...no ? what so ever.

Uploaded the files again. Still ? was there in firefox only.

Came to webdeveloper.com and posted topic.

Tired what drhowarddrfine said to do. Uploaded again...still ? remained there.

Opened new HTML document in dreamwever with default setting.

Copied doc type and meta tag and replaced.

Uploaded to server and CHA CHING! No more ?. :D

ray326
03-06-2007, 01:31 PM
I think it was the eclipse.

drhowarddrfine
03-06-2007, 04:00 PM
It was the meta tag that fixed it for the correct charset.
ALL new pages should use the strict doctype. There is no reason it shouldn't have worked for you. You have no need for and shouldn't use transitional. Dreamweavers use of it is flawed.

webwarrior925
03-07-2007, 10:35 AM
It was the meta tag that fixed it for the correct charset.
ALL new pages should use the strict doctype. There is no reason it shouldn't have worked for you. You have no need for and shouldn't use transitional. Dreamweavers use of it is flawed.


Ok the home page is now Strict and validated. I will have to work on the other pages soon as I get a chance.