css import problem

liunx

Guest
I am using this code on my site:
<style type="text/css" media="all">
<!--
@import "http://style.subsilvernet.com/style.css";
-->
</style>

<!-- m --><a class="postlink" href="http://style.subsilvernet.com/style.css">http://style.subsilvernet.com/style.css</a><!-- m --> looks like this:

/* This is the style for the main body */
body {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000000;
margin-left: 0;
margin-right: 0px;
margin-top: 0px;
margin-bottom: 0px;
}
@import "http://style.subsilvernet.com/text/normal.css";
@import "http://style.subsilvernet.com/hyperlinks/normal.css";
@import "http://style.subsilvernet.com/body/normal.css";
@import "http://style.subsilvernet.com/footerheader/normal.css";
@import "http://style.subsilvernet.com/navigation/normal.css";
@import "http://style.subsilvernet.com/other/normal.css";


All those url are valid. For some reason, it doesn't use and of trhe imports in style.css! But when I take style.css's code, and stick it directly into my page, it works! I dont get it!And it works perfect if I just put it directly into the (x)html codeTry putting your imports before all of your in-page CSS.
 
Back
Top