Problem is the line
<link rel="stylesheet" href="css/style.css" type="text/stylesheet">
It should be
<link rel="stylesheet" href="css/style.css" type="text/css">
see Difference between type="text/css" and type="text/stylesheet"?
Pergunta
I just wanted to know how to refer the stylesheet which is under css folder in assets/www path. Here is my HTML code:
<!DOCTYPE HTML>
<html>
<head>
<title>EazyTutor</title>
<script type="text/javascript" charset="utf-8" src="js/cordova-2.7.0.js"></script>
<link rel="stylesheet" href="css/style.css" type="text/stylesheet">
</head>
<body>
<div id="top_header">Home Page</div>
</body>
</html>
Here is my CSS Code:
@charset 'UTF-8';
#main_wrapper
{
width:100%;
height:100%;
margin:0px;
padding:0px;
}
#top_header
{
height:5%;
background-color:#CCC;
}
Please help guys...
Solução
Problem is the line
<link rel="stylesheet" href="css/style.css" type="text/stylesheet">
It should be
<link rel="stylesheet" href="css/style.css" type="text/css">
see Difference between type="text/css" and type="text/stylesheet"?