My html
does not load the css
style file. The preview povided by Eclipse correctly shows the changes I made in the css
file. If I am loading the file with Firefox on the other hand these changes are gone. This also hapens if loaded on another machine. I emptied my cache etc. (using CCleaner). However if I load the html file with IE all changes are visible. Intrestingly this is only the case for colors.
I include the css
file using the following line:
<link rel="stylesheet" type="text/css" href="./css/style.css" />
The releveant css
lines:
#menubar
{ width: 920px;
height: 50px;
text-align: center;
margin: 0 auto;
background: #000099;
background: -moz-linear-gradient(#535353, #1d1d1d);
background: -o-linear-gradient(#535353, #1d1d1d);
background: -webkit-linear-gradient(#535353, #1d1d1d);
border-radius: 15px 15px 15px 15px;
-moz-border-radius: 15px 15px 15px 15px;
-webkit-border: 15px 15px 15px 15px;
-webkit-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;
-moz-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;
box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;
}
The lines in html
:
<div id="menubar">
<ul id="menu">
<li class="current"><a href="index.html">Home</a></li>
<li><a href="PracticalInfo.html">Practical Information</a></li>
<li><a href="people.html">People</a></li>
<li><a href="programme.html">Programme</a></li>
<li><a href="contact.html">Contact Us</a></li>
</ul>
</div><!--close menubar-->