-
-
Save adamstac/490582 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml: lang="en"> | |
<head> | |
<title>vectoredink</title> | |
<metta http-equiv="Content-Type" content="text/html; chartset=utf-8" /> | |
<style type="text/css"> | |
html { | |
background-image:url('images/background_01.jpg'); | |
} | |
#header { | |
margin: 0; | |
padding: 0 0 0 0; | |
width: 970px; | |
height: 250px; | |
position: relative; | |
color: #d5450c; | |
background:url(images/header.png) no-repeat left; | |
} | |
#nav { | |
position: absolute; | |
width: 970px; | |
margin: 0; | |
padding: 0; | |
top: 182px; | |
left: 40px; | |
list-style: none; | |
} | |
#nav li { | |
float: left; | |
margin: 0; | |
padding: 0; | |
font-size: 100%; | |
} | |
#nav a { | |
float: left; | |
margin: 0 1px 0 0; | |
padding: 4px 8px; | |
color: #fff; | |
text-decoration: none; | |
} | |
#nav a:hover, body#intro #t-intro a { | |
color: #d5450c; | |
text-decoration: underline; | |
} | |
#body { | |
background: #fff; | |
background:url(images/body-repeat.png) repeat-y; | |
font-family: "Verdana"; | |
overflow: hidden | |
} | |
#banner { | |
margin: 0; | |
padding: 365px 0 0; | |
width: 918px; | |
height: 5px; | |
background:url(images/banner1.jpg) no-repeat left; | |
position: relative; | |
left: 20px; | |
} | |
#label { | |
float: left; | |
width: 970px | |
margin: 0; | |
padding: 0 0 0 22px; | |
list-style: none; | |
font-family: "Verdana"; | |
} | |
#cta { | |
postion: absolute; | |
width: 970px; | |
margin: 0; | |
padding: 20px | |
left: 40px; | |
list-style: none; | |
} | |
#logo { | |
float: left; | |
margin: 0; | |
padding: 0; | |
background:url(images/cta1.jpg) no-repeat left; | |
} | |
</style> | |
</head> | |
<body> | |
<div id= "header"> | |
<ul id= "nav"> | |
<li id="home"><a href="/">HOME</a></li> | |
<li id="portfolio"><a href="portfolio.html">PORTFOLIO</a></li> | |
<li id="blog"><a href="blog.html">BLOG</a></li> | |
<li id="contact"><a href="contact.html">CONTACT</a></li> | |
</ul> | |
</div> | |
<div id="body"> | |
<div id= "banner"> | |
<ul id= "label"> | |
<li>TYPOGRAPHY <i>Not as easy as it looks:</i> | |
<br><code>Self promotional artwork showing the complexity of typography.</br> | |
</li> | |
<hr /> | |
</ul> | |
</div> | |
<ul id ="cta"> | |
<li id="logo"><a href="portfolio.html"></a></li> | |
</ul> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm having trouble with my "UL". Trying to create three CTA's (call to action) boxes horizontally. You can see where I started it on line 116 within the body div. My css starts on line 77 #cta then #logo. My first image is not showing up