David Neal pointed me at this article:
and this example page:
Alex Robinson really knows his css and the quirks of popular browsers.
Although I already had a 3 column css layout working I am seeing much more possibilities with this approach. I'll be experimenting with this soon.
Sunday, February 26, 2006 4:06:46 PM
mojoPortal recently got some coverage by Joseph Hill in his presentation on C# Mono Development at the Dallas C# SIG held at the Microsoft Offices in Irving Texas.
Joseph has been a great contributor to mojoPortal from the beginning both in terms of code and in helping spread the word about the project.
Many Thanks Joseph!
Sunday, February 26, 2006 3:32:04 AM
I blogged a little more about the current status of XHTML compliance in mojoPortal on my personal site.
Although some pages could validate as XHTML 1.1 I decided to go with XHTML 1.0 Transitional so that every page can be valid.
Monday, February 20, 2006 4:41:20 PM
I did a little more tweaking and now This Page Is Valid XHTML 1.1!
Again you have to try it with the source from a browser like Firefox, if you just point the validator at this page it renders down level which is not compliant.
I should note that the FCKeditor is only XHTML 1.0 compliant so any page with an editor will not validate against XHTML 1.1 until that support is in place. In any case since browsers seem to be forgiving I think I can still go forward with the XHTML 1.1 DOCTYPE
Also I had to fix even more content in the db where I have historically had the bad habit of using target=_blank on links to external sites. target is no longer valid in XHTML 1.1
This site is also currently using much more CSS layout and most of the table layout has been removed. I'm still working on a few areas of this and still need to update more of the built in skins to work with the new model but I figured it was good to go ahead and do the skin for this site first so I can test it in the real world.
Thanks go out to Alexander Orlov for help and good advice in working toward XHTML compliance.
Saturday, February 18, 2006 9:45:29 AM
After a good bit of work, according to the Wc3 validator page, this page is Valid XHTML 1.0 Transitional!
Now if you want to confirm this yourself I will say you can't just enter the url www.mojoportal.com and have it come up valid becuase when the validator pages makes a request it is rendered differently than when using a browser. In other words the .NET Server controls do their down level rendering when it can't detect the browser and apparently the downlevel rendering is not valid.
If you view this page with Firefox and then right click and view the page source then save this file as www.mojoportal.htm and upload it to the validator it gives it the nice approval.
Ultimately I would like to get to Strict compliance instead of Transitional but this is a step in the right direction.
Another factor that comes into play in a CMS like mojoPortal is whether the existing markup in the database that has been entered using the CMS features conforms. I think in general FCKeditor does produce valid markup, but I have found places where I edited stuff directly as source and I didn't do it with XHTML validation in mind at the time so I am cleaning things up in the content as well as in mojoportal code. For example using a valign attribute on a td is not valid for Transitional and moving forward toward Strict, links with a target attribute are not allowed so I am cleaning up things like that too.
I doubt if all the pages in this site are currently valid but I am making progress and eventually we will be able to proudly display the icon
Saturday, February 18, 2006 6:54:55 AM