| Welcome to Webforumz.com. |
|
Jan 16th, 2008, 01:22
|
#1 (permalink)
|
|
New Member
Join Date: Jan 2008
Location: Brooklyn
Posts: 3
|
can't validate site in order to post real question
Hi there, I put up my first website yesterday, and while most things seems to be working, I found a problem today and came here for help. The welcome info said that I should first validate my page, and it turns out I don't even know enough to do that. Using this site's validator and links, I've tried a dozen different ways to add a valid doctype, but nothing works. I'm using Namo WebEditor 2006 on a PC running Windows XP Home.
The last thing I tried was to save the doc in Namo as an XHTML doc, which was supposed to add the correct doctype and clean up the code. But it didn't work. When I tried to validate I still got an invalid doctype and almost 100 errors most of which I don't understand how to fix! Any advice would be appreciated.
|
|
|
Jan 16th, 2008, 01:34
|
#2 (permalink)
|
|
Most Reputable Member
Join Date: Feb 2004
Location: Borneo
Age: 27
Posts: 1,567
|
Re: can't validate site in order to post real question
Do you have your site hosted somewhere? Could you give us the link?
or.. Check out this types of HTML DOCTYPE that you should use! Most people use the HTML Strict DTD!
Cheers...
__________________
|
|
|
Jan 16th, 2008, 01:40
|
#3 (permalink)
|
|
New Member
Join Date: Jan 2008
Location: Brooklyn
Posts: 3
|
Re: can't validate site in order to post real question
Wow, thanks for your quick response!
It's here: www.milliongadgetmom.com
BTW, the original problem I was trying to solve was this: When I first open my site and try to open any link that links to a page within my site, a new browser window opens (which I do not want to happen). In that new window, everything opens in that current window the way it's supposed to.
The links that are not part of my website open correctly (in the same browser page) right from the beginning.
Thanks!
|
|
|
Jan 16th, 2008, 02:03
|
#4 (permalink)
|
|
Most Reputable Member
Join Date: Feb 2004
Location: Borneo
Age: 27
Posts: 1,567
|
Re: can't validate site in order to post real question
Your site have: You are using an XHTML doctype (which you are using right now) this means you need to self-close elements.
- Code: Select all
<link href="style.css" rel="stylesheet" type="text/css"> to
- Code: Select all
<link href="style.css" rel="stylesheet" type="text/css" />
It's better for you to use an HTML or XHTML Strict DTD. I don't see any problem in your link, perhaps it was your doctype. Try change them and see what happen!
Cheers...
__________________
|
|
|
Jan 16th, 2008, 02:30
|
#5 (permalink)
|
|
New Member
Join Date: Jan 2008
Location: Brooklyn
Posts: 3
|
Re: can't validate site in order to post real question
Thanks for you answer - however, I'm not sure I understood it. I was just using whatever Namo automatically uses. My knowledge of html is relatively limited and I don't understand the differences between the types of html/xhtml.
In the meantime, I've noticed that when I type in www.milliongadgetmom.com it does not open the "index.htm" page. I suspect this would solve the problem. How can I get the browser to automatically go to the index page?
Thanks!
|
|
|
Jan 16th, 2008, 04:04
|
#6 (permalink)
|
|
Most Reputable Member
Join Date: Feb 2004
Location: Borneo
Age: 27
Posts: 1,567
|
Re: can't validate site in order to post real question
The link I gave you explains it all! HTML DOCTYPE
If you want to know the differences, Read This!
Regarding your "index.htm", I think it has to do with your hosting setting!
I am not sure, just wait perhaps some of the staff will reply to you!
Cheers..
__________________
|
|
|
Jan 16th, 2008, 16:24
|
#7 (permalink)
|
|
Elite Veteran
Join Date: Jan 2007
Location: You know where
Age: 30
Posts: 4,883
|
Re: can't validate site in order to post real question
For your link problem, try removing this
- HTML: Select all
<base target="contents" />
Quote:
Originally Posted by cicek
In the meantime, I've noticed that when I type in www.milliongadgetmom.com it does not open the "index.htm" page. I suspect this would solve the problem. How can I get the browser to automatically go to the index page?Thanks!
|
hmmm ... it does go to index.htm
Last edited by karinne; Jan 17th, 2008 at 13:24.
|
|
|
Jan 17th, 2008, 01:09
|
#8 (permalink)
|
|
Most Reputable Member
Join Date: Feb 2004
Location: Borneo
Age: 27
Posts: 1,567
|
Re: can't validate site in order to post real question
Looks like he already solved the problem! 
__________________
|
|
|
| Thread Tools |
|
|
| Rate This Thread |
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|