Topic: XHTML transitional validation Q's Pages that link to <a href="https://ozoneasylum.com/backlink?for=10808" title="Pages that link to Topic: XHTML transitional validation Q&amp;#039;s" rel="nofollow" >Topic: XHTML transitional validation Q&#039;s\

 
Author Thread
patric design
Bipolar (III) Inmate

From: 290 km/h, fast lane, Autobahn, Germany
Insane since: Feb 2001

IP logged posted posted 09-26-2002 10:07 Edit Quote

I have just validated a new XHTML & css website i made.
The CSS validates just fine.
However the XHTML 1.0 Transitional won't validate.

It doesn't like these two:

code:
<META NAME="MSSmartTagsPreventParsing" CONTENT="true" />
<META HTTP-EQUIV="MSThemeCompatible" CONTENT="no" />



Why is that? I've seen them in use all over the place.

Next thing it doesn't like is this:

code:
<body scroll="auto">



I included this not because it is necessary but because i think it looks nicer not to have the "blind" scrollbar around when there is nothing to scroll.

Is there a way to write these 2 code snippets XHTML compliant or is it best to just leave them out?

<´¯`·.¸ Patric ¸.·´¯`>

[This message has been edited by patric design (edited 09-26-2002).]

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

IP logged posted posted 09-26-2002 12:29 Edit Quote

patric design: OK your problems:

1. I initially thought it was because they are MS specific meta tags but they are in caps which isn't XHTML so make them lower case and validate again and see what happens

2. XHTML doesn't like most of the stuff we put in the BODY tag (is there anything it likes in there ONLOAD pos?) so take that out and if you want use:

code:
body {
overflow: auto;
}



Its not so widely supported by browsers and you should test it in the Big Three (I think you might need height: 100% in there to stop NS6 from screwing up) but it does what you want in XHTML.

___________________
Emps

FAQs: Emperor

patric design
Bipolar (III) Inmate

From: 290 km/h, fast lane, Autobahn, Germany
Insane since: Feb 2001

IP logged posted posted 09-26-2002 13:21 Edit Quote

Thanx a lot, Emperor!

This solved my problems.
The meta tags were indeed incorrect in capitalized letters, too bad the w3 validator doesn't say that but instead tells something really cryptic.

The body overflow works fine and validates as well! Itested it in IE6, NS7, Opera 604. Couldn't test it in NS6 - don't have it anymore!

Thanx again! Ready to release now!

EDIT: Mozilla 1.0 -1.2a screw it up even with height 100% (page looks like it has totally weird frames). I might just scrap the body scroll issue and leave it to show.

EDIT AGAIN: I've scrapped the body overflow now it now. NS7 screwed it up as well after i installed Mozilla 1.2a (or maybe i didn't hit refresh in NS7) even with height 100%.

<´¯`·.¸ Patric ¸.·´¯`>

[This message has been edited by patric design (edited 09-26-2002).]

[This message has been edited by patric design (edited 09-26-2002).]

[This message has been edited by patric design (edited 09-26-2002).]



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu