Hi all,
What is the best way to add CSS file references between the <head> tags?
The original way is like this:
<link type="text/css" rel="stylesheet" href="../Assets/Css/all.css" media="screen" /> | |
<link type="text/css" rel="stylesheet" href="../Assets/Css/Menu.Multiflexx.css" media="screen" /> | |
<link type="text/css" rel="stylesheet" href="../Assets/Css/Menu.MultiflexxSide.css" media="screen" /> | |
<script type="text/javascript" src="../Assets/Js/script.js"></script> | |
<script type="text/javascript" src="../Assets/Js/vscrollarea.js"></script> | |
<!--[if lte IE 6]><link type="text/css" rel="stylesheet" href="../Assets/Css/ie6.css" /><![endif]--> | |
<!--[if IE]><link type="text/css" rel="stylesheet" href="../Assets/Css/ie.css" /><![endif]--> |
When I use this on pages that are 1 or 2 levels deep (in the menu structure) then some styles are not applied. Well, the IE 6 hacks in particular. I tried all kind of things to resolve the right path for the files, but none of them are working.
If anyone has some more ideas to solve this right, let me know.
The problem is that it is important that the order of the files is the same, and that the Conditional comments are also beeing used.
-Daniel