Re: Web-design in Fedora

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2006-05-06 at 14:47 -0500, Bruno Wolff III wrote:
> On Sat, May 06, 2006 at 11:39:38 -0700,
>   "Michael A. Peters" <mpeters@xxxxxxx> wrote:
> > 
> > I'd suggest looking at xhtml
> > 
> > Any fairly recent browser supports it.
> 
> Except that you need to use a bogus content type to get IE to deal with it.
> 

Works for me just fine in IE6 running in Wine.
What bogus "content type" are you referring to?

I know Firefox has some issues if certain things are not set (IE the id
attribute won't work as an anchor).

I think it is either

<?xml version="1.0" encoding="utf-8"?>

or

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/2001/REC-xhtml11-20010531/DTD/xhtml11-flat.dtd";>

that are required for Firefox to properly handle it.

The second is required for validation anyway.
The first I believe is only required if you are not sending the correct
mime type with the document.

Are either of those what you were referring to?
If so - IE is not to blame if an incorrect mime-type is set (IE if it is
sent as text/html then IE is not at fault for using html instead of
xhtml to parse it)

Now there are some cases where IE blatantly ignores the specified mime
type. So having it in the document doesn't hurt.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux