Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

linked css file not recognized by ie

0 views
Skip to first unread message

Stefan Sitko

unread,
Jun 22, 2004, 8:38:31 AM6/22/04
to
Hi.

Who can tell me whats wrong with my css-file? Mozilla@Linux shows
everything fine but on Windows (with Internet Explorer) only the first
tag is recongnized.

The Homepage is http://www.jupi-networks.com/prod_webhosting.php and the
css-file is http://www.jupi-networks.com/format.css

Could it be a problem with different charsets on linux and windows?

Tanks.
Stefan

Pascal Chevrel

unread,
Jun 22, 2004, 8:48:57 AM6/22/04
to
Le 22/06/2004 14:38, Stefan Sitko a ecrit :

There is an error in your HTML code :
<m1>Profesionelles Webhosting</m1>

the m1 and m2 tags don't exists in HTML, you probably meant h1 and h2, I
think that this is why IE doesn't apply the style to them.

Pascal

--
Pascal Chevrel - Mozilla Champion
FAQ Mozilla/Netscape 7 en français : http://www.chevrel.org/fr/faq/
Foros Mozilla en español : http://www.chevrel.org/es/foros/

Pascal Chevrel

unread,
Jun 22, 2004, 8:52:34 AM6/22/04
to

Le 22/06/2004 14:48, Pascal Chevrel a ecrit :

> the m1 and m2 tags don't exists in HTML, you probably meant h1 and h2, I
> think that this is why IE doesn't apply the style to them.
>
> Pascal
>

That's not the only error BTW :
<li sp><hl>

Doesn't exists in HTML either.

Stefan Sitko

unread,
Jun 22, 2004, 8:55:50 AM6/22/04
to
Oh. I thought i could define new tags. Is that not possible? Mozilla
understands this.

Stefan

Pascal Chevrel schrieb:

Pascal Chevrel

unread,
Jun 22, 2004, 9:00:07 AM6/22/04
to

Le 22/06/2004 14:55, Stefan Sitko a ecrit :

> Oh. I thought i could define new tags. Is that not possible? Mozilla
> understands this.
>
> Stefan
>

If you want to define new tags, then you should use XML and not HTML :-)

Stefan Sitko

unread,
Jun 22, 2004, 9:33:08 AM6/22/04
to
thanks for you help. i work now with <span id=""> and <div id="">. it is
a little bit longer than smiply defining a new tag but seems to work fine.

Stefan

Pascal Chevrel schrieb:

Stan Scott

unread,
Jul 2, 2004, 12:45:32 AM7/2/04
to
Stefan,

It's easy to create new tags on your HTML page. It's just done a bit
differently with Internet Explorer. You just have to define a
namespace and set up the new tags like this:

<HTML XMLNS:MY>
<head>
<STYLE>
MY\:M1 {font-weight:bold;color:red}
MY\:M2 {font-weight:bold;color:blue}
</STYLE>
</head>

<body>
<MY:M1>This is a test</MY:M1><br><br>
<MY:M2>This is a test</MY:M2><br><br>
</body>
</html>

The namespace is defined in the <HTML> tag itself. After that, you
create new tags by combining the namespace name and the tag name.

Stan Scott
New York City

Stefan Sitko <ssi...@jupi-networks.de> wrote in message news:<cb9a8m$j0d$06$1...@news.t-online.com>...

0 new messages