Why the MyBB community site isn't a valid xhtml?
#11
IE is garbage Toungue
[Image: destroyerjf8.jpg]

Give us your feedback about MyBB in this thread and become listed on the MyBB website.
Reply
#12
blueparukia Wrote:This site is serving xHTML 1.1 as text/html?

Not supposed to happen. You are just using xHTML 1.0 Strict....
XHTML 1.1 is strict.
XHTML 1.0 is transitional.
Reply
#13
Quote:XHTML 1.1 is strict.
XHTML 1.0 is transitional.

No it is not. Thats bordering on blasphemy - such as saying "Frontpage is an awesome website maker".

xHTML 1.0 can be served as both application/xhtml+xml and text/html in both strict and transitional doctypes:

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

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

There are also doctypes for frames.

xHTML 1.1 is meant to be served only as application/xhtml+xml - which is not supported in Internet Explorer. It comes with just one doctype:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

HTML 4.01 is only to be served as text/html, and comes with both transitional and strict doctypes:

HTML 4.01 Transitional Doctype:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">

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

Regards,

BP
Reply
#14
Oh yes, you are correct. XHTML 1.1 is based off strict - I misread that part.
Reply
#15
Well, this community is looking [Valid] now...
Reply
#16
The only problem with it is that the javascript isn't within <!-- // -->.
Reply
#17
(2009-07-01, 11:04 PM)Martin M. Wrote: The only problem with it is that the javascript isn't within <!-- // -->.

Yes it is - If it's not then it's not meant to be
Reply
#18
(2009-07-02, 12:59 AM)Ryan Gordon Wrote:
(2009-07-01, 11:04 PM)Martin M. Wrote: The only problem with it is that the javascript isn't within <!-- // -->.

Yes it is - If it's not then it's not meant to be

No it's not, and it probably is meant to be. I don't see why it shouldn't as it's javascript.
Look at the source of the homepage.
Reply
#19
(2009-07-02, 02:07 PM)Martin M. Wrote:
(2009-07-02, 12:59 AM)Ryan Gordon Wrote:
(2009-07-01, 11:04 PM)Martin M. Wrote: The only problem with it is that the javascript isn't within <!-- // -->.

Yes it is - If it's not then it's not meant to be

No it's not, and it probably is meant to be. I don't see why it shouldn't as it's javascript.
Look at the source of the homepage.

I see proper enclosed comments where all javascript is. If there isn't don't make me waste my time while I'm on vacation trying to find out what your talking about.

Ryan
Reply
#20
(2009-07-02, 07:23 PM)Ryan Gordon Wrote:
(2009-07-02, 02:07 PM)Martin M. Wrote:
(2009-07-02, 12:59 AM)Ryan Gordon Wrote:
(2009-07-01, 11:04 PM)Martin M. Wrote: The only problem with it is that the javascript isn't within <!-- // -->.

Yes it is - If it's not then it's not meant to be

No it's not, and it probably is meant to be. I don't see why it shouldn't as it's javascript.
Look at the source of the homepage.

I see proper enclosed comments where all javascript is. If there isn't don't make me waste my time while I'm on vacation trying to find out what your talking about.

Ryan

As I said it's not the forum board it's the homepage.
As the validator states it's not properly enclosed on the homepage.
I'm not trying to make you waste your time.

<script type="text/javascript">

			function CheckMultiple1(frm, name) {
				for (var i=0; i < frm.length; i++)
				{
					fldObj = frm.elements[i];
					fldId = fldObj.id;
					if (fldId) {
						var fieldnamecheck=fldObj.id.indexOf(name);
						if (fieldnamecheck != -1) {
							if (fldObj.checked) {
								return true;
							}
						}
					}
				}
				return false;
			}
		function CheckForm1(f) {
			if (f.email.value == "" || f.email.value == "[email protected]") {
				alert("Please enter your email address.");
				f.email.select();
				f.email.focus();
				return false;
			}
		
				return true;
			};
		
</script>
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)