This is strange because for some reason, my style sheet is not loading. Also, sometimes, it does appear not to be loading the style sheet and if I wait for a while, it tends to work… This is the html page that I am working on…
!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Tutorial</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div class ="wrapper" >
<nav>
<ul>
<li><a href="wrapper.html">Home</a>
<li><a href="portfoliio.html">Portfolio</a>
<li><a href="about.html">About me</a>
<li><a href="contact.html">Contact</a>
</li>
</ul>
</nav>
<h1>Home</h1>
</div>
</body>
</html>
Here is my CSS code:
* {
margin: 0;
padding: 0;
}
body {
background-color: #eee;
}
.wrapper {
margin: 0 auto;
width: 1000px;
}
nav {
width:100%;
height: 100%;
background-color: #fff;
}
ul {
margin-left: 0px;
}
ul li {
list-style: none;
text-decoration: none;
display:inline-block;
float:left;
}
ul li a{
text-decoration: none;
font-size: 14px;
font-family: arial;
color: #1e1e1e;
padding: 0 25px;
}
But at the moment, my page is looking liked this…