RE: [WSG] (X)HTML Best Practice Sheet updated for MSIE

2007-08-12 Thread Philip Kiff
Philip Kiff wrote:
 Tested this link:
 http://keryx.se/resources/html-elements.xhtml [corrected]

 This link does not seem to work in MSIE 7, 6, or 5.55 on my test
 machines.

Works now as designed on all MSIE browsers listed above - it serves HTML
4.01 Strict version, with a note added about my browser not being able to
display true XHTML.  Not sure when it started to work -- it could have just
been a cache issue on a server between here and there, or even just on my
ISP's server.

Phil.



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] (X)HTML Best Practice Sheet updated for MSIE

2007-08-11 Thread Keryx Web

I have now made it possible for MSIE to see my sheet as well.

I have provided an plain HTML version, but do not want any linking to 
it. This is the set of rules in my .htaccess that I think should do the 
trick:


---

RewriteEngine On

# The simple html version shall not be directly accessible!
RedirectMatch 301 html-elements-plain\.html \
http://egen.keryx.pad/resources/html-elements.xhtml

# The next ruleset changes nothing but should stop the following \
from executing
RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml
RewriteCond %{HTTP_ACCEPT} !application/xhtml\+xml\s*;\s*q=0
RewriteCond %{REQUEST_URI} \.xhtml
RewriteCond %{THE_REQUEST} HTTP/1\.1
RewriteRule .* - [L]

# Go easy on MSIE and some bots
RewriteCond %{REQUEST_URI} \.xhtml$
RewriteRule html-elements.xhtml html-elements-plain.html [T=text/html] [L]

---
It works with FFox, Opera 9.2, Safari for Windows (complained at first 
about too many redirects for no apparent reason) and MSIE 6. The latter 
will miss two CSS 3 selectors and inserts line breaks like this:


[B]
lock(-
ish)/
[I]
nline(-
ish)/
[T]able

Any easy way to fix this except for nobr?



Please report any problems ASAP as I see that some people have started 
to link to my little sheet. (At least three on Magnolia...)



Lars Gunther

P.S. MSIE will not recognize the check mark on my XP box, neither will 
Safari.



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



RE: [WSG] (X)HTML Best Practice Sheet updated for MSIE

2007-08-11 Thread Philip Kiff
Philip Kiff wrote
 Tested this link:
 http://keryx.se/[...].html

Ooops. That isn't the link I tested.  I tested the xhtml one that is
supposed to get rewritten in the htaccess rules:
http://keryx.se/resources/html-elements.xhtml

Phil.



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



RE: [WSG] (X)HTML Best Practice Sheet updated for MSIE

2007-08-11 Thread Philip Kiff
Keryx Web wrote:
 This is the set of rules in my .htaccess that I think should do
 the trick:
 [snip]
 It works with FFox, Opera 9.2, Safari for Windows (complained at first
 about too many redirects for no apparent reason) and MSIE 6.

Tested this link:
http://keryx.se/resources/html-elements-plain.html

This link does not seem to work in MSIE 7, 6, or 5.55 on my test machines.
The same link works on the same machines in Opera v.9.22.  Did not test
beyond that.

Not sure about your htaccess code. You might also consider an alternative
scripting method of serving the page to MSIE versions, such as one of these:
http://sitesurgeon.co.uk/articles/serving-xhtml-correctly.html
http://www.workingwith.me.uk/articles/scripting/mimetypes

Phil.



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***