1 reply [Last post]
Balteo
Offline
Enthusiast
Paris
Last seen: 10 years 7 weeks ago
Paris
Timezone: GMT+2
Joined: 2003-06-25
Posts: 65
Points: 0

Hello,

I came across the following declaration :
<?xml-stylesheet href="/css/boxer2.css" type="text/css"?>

instead of the normal :
<link rel="stylesheet" type="text/css" media="screen" href="./css/style.css"/>

What's the difference?? Which one should I use and when?

Thanks in advance,

Julien Martin.

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 14 weeks 6 days ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9776
Points: 3858

&lt;?xml-stylesheet href=&quot;/css/boxer2.css&quot; type=&q

The former is specific to xml documents. Stick to the latter.

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.