how can i echo out css, i tried this but it didnt call the css
Code:<head> <script src="http://code.jquery.com/jquery-latest.js"></script> <link href="css/main.css" rel="stylesheet" type="text/css" /> <title></title> <?php if ($subcat == "4") { echo '<style type="text/css/">',"\n"; echo ".navLine4 a:link {text-decoration:none; color:#979899;}","\n"; echo ".navLine4 a:visited {text-decoration:none; color:#979899;}","\n"; echo ".navLine4 a:hover {text-decoration:none; color:#979899;}","\n"; echo ".navLine4 a:active {text-decoration:none; color:#979899;}","\n"; echo "</style>"; } if ($subcat == "5") { echo '<style type="text/css/">',"\n"; echo ".navLine5 a:link { text-decoration:none; color:#979899; }","\n"; echo ".navLine5 a:visited { text-decoration:none; color:#979899;}","\n"; echo ".navLine5 a:hover { text-decoration:none; color:#979899; }","\n"; echo ".navLine5 a:active { text-decoration:none; color:#979899; }","\n"; echo "</style>"; } ?> </head>



Reply With Quote

Bookmarks