On Wed, 11 Apr 2007 01:22:36 -0500 Nick Hughart <[EMAIL PROTECTED]> babbled:

> Note: This email is mostly directed towards raster/dj2, but if anyone
> else feels like commenting, knock yourself out.
> 
> Didn't want to just commit this stuff, but I went through and cleaned
> up the HTML/PHP/CSS of the new website.  I've attached a diff so you
> can look at the changes made and possibly apply them yourself to see
> the difference.  As I've done it the site looks exactly the same as it
> does not, but validates as XHTML 1.1

i actually had to remove the doctype xml stuff - it was causing firefox and
opera to basically fuck up tables. :( i could find no way around this.

> The following is a mini changelog to justify some of the changes:
> 1. Should use echo over print unless you need the return status of print
>     - Small issue, but small issues add up

ummm ok.

> 2. include_once incurs extra overhead of checking for existing includes
>     - It is not necessary for us since we only include the file once.
>       Again, small issues add up.

ok

> 3. Anything between style or script tags should be HTML commented
> 4. align is not a valid css property
> 5. // is not a valid CSS commenting style, must use /* */

but i like //!!! :)

> 6. Other misc cleanups/fixes, see diff
> 7. Finally, lets do our part and be XHTML 1.1 compliant :)

much of a muchness really. as above - had to disable the doctype.

> Let me know if you disagree with anything and I'll attempt to justify
> it or you just might convince me :).  It didn't really take that long
> to convert it so if you don't care I guess i can accept that, but I did
> all the work in hopes that you would use it :).  Everything seems
> kosher in IE6, but final checking will have to be done when its up.
> 
> As further justification I will say that in the future, most browsers
> will probably move towards attempting to support more of the standards

as long as microsoft are behind ie - a huge chunk of browser users wont see
this. :(

> and those sites left not using them will have to fix things constantly.
> They may even break things at different times leaving you updating for
> every browser release.  The reason XHTML is so important is because it
> can potentially make the browser so much faster and correct because
> the syntax is more regular. HTML is so irregular and every browser
> implements some of their own irregularities as well.  So my point is,
> we are not only helping push the standards that exist, but we are also
> saving ourselves from pain in the future.

except we introduced pain. table rows seem to get a minimum height of a line of
text - they cant be thinner when in xhtml mode. thats just wrong.

> Not trying to push any agenda here, just voicing my opinion, take it or
> leave it.
> 
> Last time I tried to send an attachment to the list it failed, so
> hopefully this time it will work.  If not, you can get the diff at
> http://www.satus.net/files/misc/eweb.diff.
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to