W3C home > Mailing lists > Public > www-style@w3.org > March 2004

Fragment identifiers in link rel='stylesheet'

From: liorean <liorean@f2o.org>
Date: Sat, 13 Mar 2004 23:12:40 +0100
Message-ID: <40538758.5070105@f2o.org>
To: "www-style@w3.org" <www-style@w3.org>

Just a wondering: Should a user agent try to apply the stylesheet or not 
in cases like this? What content type is the target considered to have, 
is it 'text/html' or is it maybe undefined?

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<title>Fragment identifier in link href</title>
<link rel="stylesheet" type="text/css" href="#styles"/>
<pre id="styles">
pre{
     white-space: normal;
}
</pre>


-- 
David "liorean" Andersson

ViewStyles, ViewScripts, SwitchStyles and GraphicsInfo bookmarklets:
<http://liorean.web-graphics.com/>
Hangouts:
<http://codingforums.com/> <http://yourmusicforums.com/>
Received on Sunday, 14 March 2004 18:57:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:27 GMT