Wrong rel used in style

Funda Wang mandrake at en2china.com
Wed May 28 04:03:12 UTC 2003


I found following code within www.kde.org:

<link rel="stylesheet" media="screen" type="text/css" title="Default: Orange" href="/media/styles/endres.css" />
<link rel="alternative stylesheet" media="screen" type="text/css" title="Black and white" href="/media/styles/blackwhite.css" />
<link rel="alternative stylesheet" media="screen" type="text/css" title="Blue, mellow" href="/media/styles/bluemellow.css" />
<link rel="alternative stylesheet" media="screen" type="text/css" title="Classic Blue" href="/media/styles/classic.css" />
<link rel="alternative stylesheet" media="screen" type="text/css" title="KDE Window Colors" href="/media/styles/standard.css" />
<link rel="alternative stylesheet" media="screen" type="text/css" title="Yellow" href="/media/styles/yellow.css" />

Please note that the rel was wrong used. It should be "alternate", but not "alternative". That is,

<link rel="alternate stylesheet" media="screen" type="text/css" title="Black and white" href="/media/styles/blackwhite.css"/>
           ^^^^^^^^^





More information about the kde-www mailing list