[thelist] [SOLVED] mac/ie background image problem

Tony Crockford tonyc at boldfish.co.uk
Sun Sep 29 12:58:12 CDT 2002


> ><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> > From: Tony Crockford
> >
> > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
> > > Transitional//EN"
> > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> > >
> > did you have this as well?
> >
> > <html xmlns="http://www.w3.org/1999/xhtml"
> >       xml:lang="en"
> >       lang="en">
> ><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
>
> yes, but the lang attribute was set to "en-us".  i also have
> <?xml version="1.0" encoding="iso-8859-1" ?> in there as well.

>why?

I read something about incorrect URI's but yours is the one suggested as
correct, however the xml prologue might actually be the culprit (I'm not
sure why, I'm not that clever)

but the NYPL style guide has this to say about
<?xml version="1.0" encoding="iso-8859-1" ?>

http://www.nypl.org/styleguide/xhtml/guidelines.html

<quote>
Note: many XHTML pages begin with an optional XML prologue (<?xml>) that
precedes the DOCTYPE and namespace declarations. Unfortunately, this XML
prologue causes problems in many browsers and must be omitted from NYPL
web pages.

One of the main purposes of the prologue is to specify character
encoding within your document. If you’re working on an international
site and your page will include non–ASCII characters, you can probably
get by with a simple meta tag such as:

<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />

</quote>

hth

Tony




More information about the thelist mailing list