Page is a not externally linkable
- Code, Content, and Presentation
-- CSS
---- @import url()


Genesis99 - 8:09 pm on Feb 3, 2012 (gmt 0)


<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>example</title>
<link rel="stylesheet" href="../stylesheet/example2.css">
</head>

<body>
<div id="myid" >
<p class="class2">this is the best thign ever. Cant you see the lever. If you swtich it you will die , so put on a smile and say goodbye.</p>
<p>this is the best thign ever. Cant you see the lever. If you swtich it you will die , so put on a smile and say goodbye.</p>
</div>
<hr/>
<div>
<p class="myclass2">this is the best thign ever. Cant you see the lever. If you swtich it you will die , so put on a smile and say goodbye.</p>
<p>this is the best thign ever. Cant you see the lever. If you swtich it you will die , so put on a smile and say goodbye.</p>
</div>
<hr/>
<p class="myclass">this is the best thign ever. Cant you see the lever. If you swtich it you will die , so put on a smile and say goodbye.</p>
<p>this is the best thign ever. Cant you see the lever. If you swtich it you will die , so put on a smile and say goodbye.</p>
<p>this is the best thign ever. Cant you see the lever. If you swtich it you will die , so put on a smile and say goodbye.</p>
<p><span>fdsfsdfsdfsdfsdfsdf</span></p>
<p>sdfgdsfgdsgfdssdg</p>
<p><span>exactly 10 P elements</span></p>
</body>
</html>



This is the html file. Just something I created to show you an example of the issue.


@import url('example22.css');




* {
font-style: italic;
background-color: blue ;
}

This is the linked CSS sheet to my document
.

body {
background-color: green !important;
}

div#myid {
background-color: red ;
}

This is the imported sheet to me linked style sheet. None of the import work until I cute and paste it to the other style sheet. This is the case even if I put an !important on one of the rules.

Right now when I look at my html file all I see is a whole background the first div(the myid one) covered with a read background.


By the way there all pretty much just 1 rule with different colors since I was testing out the precedence.


Thread source:: http://www.webmasterworld.com/css/4412330.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com