No replies
johnsomay1992
Offline
newbie
delhi, india
Last seen: 5 years 35 weeks ago
delhi, india
Timezone: GMT-8
Joined: 2014-02-13
Posts: 1
Points: 2

HTML:

<!DOCTYPE html> 
<html> 
<head> 
<link rel="stylesheet" type="text/css" href="Project1.css"> 
<title>Jim's Hotdogs | Project #1</title> 
 
</head> 
<body> 
<div ID="topbar"> 
<p ID="title" class="bar">Jim's Hotdogs</p> 
<p class="bar">Donate</p> 
<p class="bar">About</p> 
<p class="bar">Home</p> 
</div> 
 
 
 
</body> 
</html> 

CSS:
#topbar{ 
background-color: yellow; 
position: fixed; 
top: 0em; 
left: 0em; 
width: 100%; 
border-bottom: solid red; 
float:top; 
} 
 
#title{ 
font-size: 3.8em; 
 
} 
 
.bar { 
padding-left: 1em; 
font-size: 2.5em; 
font-family: impact; 
color: white; 
float:left; 
 
} 
 
body { 
background-color:orange; 
} 

thanks in advance!