Doctype declaration

M

mita

Hi guys
I have learned from someone that we must use doc type declaration on our
website. i have designed my first website in FP 2003 and I have not included
a doctype in it.

Couls you pls help ith that pls??
address : www.sissal.govt.nz

Site is password protected
user : mita
P/w : sissal
 
T

Trevor L.

mita said:
Hi guys
I have learned from someone that we must use doc type declaration on
our website. i have designed my first website in FP 2003 and I have
not included a doctype in it.

Couls you pls help ith that pls??
address : www.sissal.govt.nz

Site is password protected
user : mita
P/w : sissal

Hi again from OZ.

Here is a link to the W3C recommendation
http://www.w3.org/TR/html4/struct/global.html


--
Cheers,
Trevor L.
[ Microsoft MVP - FrontPage ]
MVPS Website: http://trevorl.mvps.org/
----------------------------------------
 
M

mita

Hi guys
I just added a doctype declaration in my website and now my text has fallen
all over the place. I have added

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

At present i dont have any style sheets but plan to do it in future,and i
have ued dwt to design my pages

Pls help guys as i am really getting a lot of pressure from my boss to
publish this site ASAP!!


Trevor L. said:
mita said:
Hi guys
I have learned from someone that we must use doc type declaration on
our website. i have designed my first website in FP 2003 and I have
not included a doctype in it.

Couls you pls help ith that pls??
address : www.sissal.govt.nz

Site is password protected
user : mita
P/w : sissal

Hi again from OZ.

Here is a link to the W3C recommendation
http://www.w3.org/TR/html4/struct/global.html


--
Cheers,
Trevor L.
[ Microsoft MVP - FrontPage ]
MVPS Website: http://trevorl.mvps.org/
 
D

David Berry

You're using a Strict DOCTYPE. Try a different DOCTYPE (see
http://www.w3schools.com/tags/tag_doctype.asp for examples)

Ex:

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

--
David Berry
FrontPage Support: http://www.frontpagemvps.com/



mita said:
Hi guys
I just added a doctype declaration in my website and now my text has
fallen
all over the place. I have added

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

At present i dont have any style sheets but plan to do it in future,and i
have ued dwt to design my pages

Pls help guys as i am really getting a lot of pressure from my boss to
publish this site ASAP!!


Trevor L. said:
mita said:
Hi guys
I have learned from someone that we must use doc type declaration on
our website. i have designed my first website in FP 2003 and I have
not included a doctype in it.

Couls you pls help ith that pls??
address : www.sissal.govt.nz

Site is password protected
user : mita
P/w : sissal

Hi again from OZ.

Here is a link to the W3C recommendation
http://www.w3.org/TR/html4/struct/global.html


--
Cheers,
Trevor L.
[ Microsoft MVP - FrontPage ]
MVPS Website: http://trevorl.mvps.org/
 
M

mita

Hi
I just tried the loose one as well but now everything is right aligned!!
What is wrong with my site guys??




David Berry said:
You're using a Strict DOCTYPE. Try a different DOCTYPE (see
http://www.w3schools.com/tags/tag_doctype.asp for examples)

Ex:

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

--
David Berry
FrontPage Support: http://www.frontpagemvps.com/



mita said:
Hi guys
I just added a doctype declaration in my website and now my text has
fallen
all over the place. I have added

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

At present i dont have any style sheets but plan to do it in future,and i
have ued dwt to design my pages

Pls help guys as i am really getting a lot of pressure from my boss to
publish this site ASAP!!


Trevor L. said:
mita wrote:
Hi guys
I have learned from someone that we must use doc type declaration on
our website. i have designed my first website in FP 2003 and I have
not included a doctype in it.

Couls you pls help ith that pls??
address : www.sissal.govt.nz

Site is password protected
user : mita
P/w : sissal

Hi again from OZ.

Here is a link to the W3C recommendation
http://www.w3.org/TR/html4/struct/global.html


--
Cheers,
Trevor L.
[ Microsoft MVP - FrontPage ]
MVPS Website: http://trevorl.mvps.org/
 
T

Trevor L.

mita said:
Hi
I just tried the loose one as well but now everything is right
aligned!! What is wrong with my site guys??




David Berry said:
You're using a Strict DOCTYPE. Try a different DOCTYPE (see
http://www.w3schools.com/tags/tag_doctype.asp for examples)

Ex:

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

--
David Berry
FrontPage Support: http://www.frontpagemvps.com/



mita said:
Hi guys
I just added a doctype declaration in my website and now my text has
fallen
all over the place. I have added

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

At present i dont have any style sheets but plan to do it in
future,and i have ued dwt to design my pages

Pls help guys as i am really getting a lot of pressure from my boss
to publish this site ASAP!!


:

mita wrote:
Hi guys
I have learned from someone that we must use doc type
declaration on our website. i have designed my first website in
FP 2003 and I have not included a doctype in it.

Couls you pls help ith that pls??
address : www.sissal.govt.nz

Site is password protected
user : mita
P/w : sissal

Hi again from OZ.

Here is a link to the W3C recommendation
http://www.w3.org/TR/html4/struct/global.html


--
Cheers,
Trevor L.
[ Microsoft MVP - FrontPage ]
MVPS Website: http://trevorl.mvps.org/
----------------------------------------

Well, I am willing to have a look, but you are 2 hours ahead of me, so it is
probably near to closing time in NZ

The site you have referred us to looks OK to me - well at least the home
page. There is a small margin on all sides, but otherwise, no real problems.

But the HTML is a bit strange

There is NO <html> tag

And there is no doctype either.

Did you test it locally on a different page than that which is on the web ?
If so, I can't look at the code which is causing a problem

Please either,
Put the code on the web
OR
Post the code back here
--
From an ex-Government worker in AUS. (That's an ex-worker in the Australian
Government not a worker in the ex-Government)
Trevor L.
[ Microsoft MVP - FrontPage ]
MVPS Website: http://trevorl.mvps.org/
----------------------------------------
 
T

Trevor L.

mita said:
Hi
I just tried the loose one as well but now everything is right
aligned!! What is wrong with my site guys??




David Berry said:
You're using a Strict DOCTYPE. Try a different DOCTYPE (see
http://www.w3schools.com/tags/tag_doctype.asp for examples)

Ex:

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

--
David Berry
FrontPage Support: http://www.frontpagemvps.com/



mita said:
Hi guys
I just added a doctype declaration in my website and now my text has
fallen
all over the place. I have added

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

At present i dont have any style sheets but plan to do it in
future,and i have ued dwt to design my pages

Pls help guys as i am really getting a lot of pressure from my boss
to publish this site ASAP!!


:

mita wrote:
Hi guys
I have learned from someone that we must use doc type
declaration on our website. i have designed my first website in
FP 2003 and I have not included a doctype in it.

Couls you pls help ith that pls??
address : www.sissal.govt.nz

Site is password protected
user : mita
P/w : sissal

Hi again from OZ.

Here is a link to the W3C recommendation
http://www.w3.org/TR/html4/struct/global.html


--
Cheers,
Trevor L.
[ Microsoft MVP - FrontPage ]
MVPS Website: http://trevorl.mvps.org/
----------------------------------------

I experimented a bit with Loose DTD. Just adding the DTD and changing the
aligns seemed to work quite OK.

I changed all align = "center" to align="left" except this one
<p align="center"><b>
<font size="4" face="Verdana" color="#FFFFFF">
Who We Are</font></b></td>

BTW,
Not all <p> tags appear to be closed (including this one)

--
HTH,
Trevor L.
[ Microsoft MVP - FrontPage ]
MVPS Website: http://trevorl.mvps.org/
----------------------------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top