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

Style Sheets: Specifying type for inline style sheets

0 views
Skip to first unread message

Nathan Sokalski

unread,
Jul 9, 2001, 11:32:00 PM7/9/01
to
When a style sheet is embedded using the <STYLE></STYLE> tags, the type is
simply specified by adding the TYPE= attribute. However, when a style sheet
is an inline style sheet using the STYLE= attribute (as in the following
example), how do I specify the type then? I want my type to be text/css.
When using Internet Explorer, this does not cause a problem because css is
the only type of style sheet supported by Internet Explorer. But since
Netscape supports text/jss as well, I need to specify the type. How do I do
this for inline style sheets?
--
Nathan Sokalski
njsok...@hotmail.com


Fred Chateau

unread,
Jul 10, 2001, 1:07:14 AM7/10/01
to
"Nathan Sokalski" wrote ...

You do it with a meta . . .

(I've included some others that are also recommended in the HTML 4.01
specification.)

--
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Style-Type" content="text/css">
<meta http-equiv="Content-Script-Type" content="text/javascript">

--
Regards,

Fred Chateau
http://members.home.net/fchateau/

Rowland Shaw

unread,
Jul 10, 2001, 3:54:05 AM7/10/01
to
<style type="text/css">


"Nathan Sokalski" <njsok...@hotmail.com> wrote...

0 new messages