joshmacca12234
Newbie
- Jan 12, 2014
- 7
- 1
<!DOCOTYPE html>
<html>
<head>
<Title>Basic CSS</title>
<style>
* {
background-color: #555;
margin: 0px;
font-family: arial, helvetica, sans-serif;
}
#head {
background-color: black;
height: 56px;
}
#div, h1 {
color: white;
position: absolute; top: 5;
background-color: black;
margin-left: 500px;
}
p {
color: red;
position: absolute; top: 0px;
background-color: black;
</style>
</head>
<body>
<div id="head">
<h1>CSS</h1>
</div>
<p>Login || Sign up</p>
</body>
</html>
Any mistakes, please correct.
<html>
<head>
<Title>Basic CSS</title>
<style>
* {
background-color: #555;
margin: 0px;
font-family: arial, helvetica, sans-serif;
}
#head {
background-color: black;
height: 56px;
}
#div, h1 {
color: white;
position: absolute; top: 5;
background-color: black;
margin-left: 500px;
}
p {
color: red;
position: absolute; top: 0px;
background-color: black;
</style>
</head>
<body>
<div id="head">
<h1>CSS</h1>
</div>
<p>Login || Sign up</p>
</body>
</html>
Any mistakes, please correct.