Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Html Critique > Re: please take...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 5 Topic 1401 of 1523
Post > Topic >>

Re: please take a look at submarine page

by Haines Brown <brownh@[EMAIL PROTECTED] > Nov 4, 2007 at 07:16 AM

The page http://USS-Irex.info
is XHTML 1.1. So I needed to give its
index page an .xtml extension so that there would be no conflict
between the text/html mime type and the DocType.

However, when a simple domain is requestion of the web server, the
server supplies the default file name, index.html. This does not work
because the actual index has a .xhtml extension. So I had to provide a
little index.html file that has a meta refresh to the index.xhtml
file. Is there a better way to do this?

Then the problem was that IE browsers are not able to cope with the
XHTML 1.1 standard, and so I needed a work-around for people using an
IE browser. This consisted in an additional XML Declaration so that my
declarations became:

  <?xml version="1.0" encoding="UTF-8"?>
  <?xml-stylesheet type="text/xsl" href="copy.xsl"?>
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
  
The XML-stylesheet Declaration points to the file copy.xsl, which
has in it:  

  <stylesheet version="1.0"	
       xmlns="http://www.w3.org/1999/XSL/Transform">
      <template match="/">
          <copy-of select="."/>
      </template>
  </stylesheet>

My main question is, are people using an IE browser able to see the
do***ent? If not, which version of IE are you using?

Secondly, even if the work-around does serve the page for IE browsers,
I find that it prevents the display of images. The URL above should
have a large image of a submarine. Anyone know why the XML-stylesheet
Declaration should cause images not to display?

I have another work around in the page to allow IE browsers to handle
horizontal centering. I'd appreciate knowing from someone with that
browser if the page is in fact centered horizontally.

Finally, I changed the color scheme, and would like to know if the
aesthetics of this page are OK.

-- 
 
       Haines Brown, KB1GRM
 




 5 Posts in Topic:
please take a look at submarine page
Haines Brown <brownh@[  2007-11-03 15:22:21 
Re: please take a look at submarine page
"Beauregard T. Shagn  2007-11-03 16:28:36 
Re: please take a look at submarine page
"AGw. (Usenet)"  2007-11-03 10:25:18 
Re: please take a look at submarine page
Haines Brown <brownh@[  2007-11-04 07:16:14 
Re: please take a look at submarine page
"Beauregard T. Shagn  2007-11-04 12:46:21 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Oct 11 17:45:40 CDT 2008.