stylesheet in xhtml

webmasterbeta

New Member
I saw this in the source of a page (lyx.org) that (claims to be) xhtml1.1 validated:


<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<?xml-stylesheet href=http://www.webdeveloper.com/forum/archive/index.php/"../styles/lyx.css" type="text/css"?>
<?xml-stylesheet href="../styles/pinmenu.css" type="text/css"?>
<?xml-stylesheet href="../styles/devel.css" type="text/css"?>
<?xml-stylesheet href="../styles/higraphics.css" type="text/css"?>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<link rel="stylesheet" href="../styles/lyx.css" />
<link rel="stylesheet" href="../styles/pinmenu.css" />
<link rel="stylesheet" href="../styles/devel.css" />
<link rel="stylesheet" href="../styles/higraphics.css" />


I would like to know why are the stylesheets being included twice, once with an xml processing command, another time with <link>? Is this even redundent?
 
Back
Top