R
Rob Meade
Hi all,
My apologies for this post being perhaps slightly off topic, at work I am
only able to access MS newsgroups and I was under to find one perhaps more
appropriate.
My problem.....
Visual Studio defaults to having this DOCTYPE at the top of my web forms.
<!--<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">-->
When I try to validate my pages via the W3C's html validator I get messages
about it not being HTML 4.0 Transitional etc...
What I found that seemed to make a difference was adding the URI to the end
of the statement - as below:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
Ok - so now I can validate via the W3C - marvellous...however - and this is
a bit odd...
In the "design" view of the page now, the text has all gone SUPER SMALL -
its tiny, images remain the correct size but all text goes tiny. Yet when I
run the page in IE its fine....alas if I run it in FireFox its tiny - I can
increase the text size etc, but this goesn't ever get it to where it should
be, as some of the text that is supposed to be smaller (copyright text etc)
ends up big just to make the normal text big?!
I checked out the W3C webby this morning to check I had the correct line for
the DOCTYPE, I managed to find this, which was different to what I had...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
(found on - <http://www.w3.org/TR/REC-html40/sgml/loosedtd.html>)
So, I've put that in, but still in Visual Studio and FireFox the page is
rediculously shrunk down - yet in IE it remains ok.
What I want is obviously to validate via the W3C standards, as well as have
the page working in as many browsers as possible (hence the W3C stuff!) - at
the same time it would be handy to resolve the issue in the design view...
If anyone has any info I would be greatful, and again, my apologies if
deemed OT...
Regards
Rob Meade
My apologies for this post being perhaps slightly off topic, at work I am
only able to access MS newsgroups and I was under to find one perhaps more
appropriate.
My problem.....
Visual Studio defaults to having this DOCTYPE at the top of my web forms.
<!--<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">-->
When I try to validate my pages via the W3C's html validator I get messages
about it not being HTML 4.0 Transitional etc...
What I found that seemed to make a difference was adding the URI to the end
of the statement - as below:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
Ok - so now I can validate via the W3C - marvellous...however - and this is
a bit odd...
In the "design" view of the page now, the text has all gone SUPER SMALL -
its tiny, images remain the correct size but all text goes tiny. Yet when I
run the page in IE its fine....alas if I run it in FireFox its tiny - I can
increase the text size etc, but this goesn't ever get it to where it should
be, as some of the text that is supposed to be smaller (copyright text etc)
ends up big just to make the normal text big?!
I checked out the W3C webby this morning to check I had the correct line for
the DOCTYPE, I managed to find this, which was different to what I had...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
(found on - <http://www.w3.org/TR/REC-html40/sgml/loosedtd.html>)
So, I've put that in, but still in Visual Studio and FireFox the page is
rediculously shrunk down - yet in IE it remains ok.
What I want is obviously to validate via the W3C standards, as well as have
the page working in as many browsers as possible (hence the W3C stuff!) - at
the same time it would be handy to resolve the issue in the design view...
If anyone has any info I would be greatful, and again, my apologies if
deemed OT...
Regards
Rob Meade