This is my code so far:
Code:
/* CSS Document */
body {
text-align:center; /*center hack*/
}
#wrap {
width:80%; /*center hack*/
margin:0 auto; /*center hack*/
text-align:left;
}
#header{
border: 1px solid #999;
padding:10px;
background:#fff;
height: 180px;
margin: 0;
padding: 0;
}
#topright {
margin-top: 4.7em;
margin-left: 3em;
}
#leftright {
margin-bottom: 0.5em;
position: absolute;
margin-top: 6em;
}
#topmenu {
float: right;
}
#topmenu ul {
margin: 0;
padding: 0;
}
#topmenu li {
display: inline;
}
#topmenu a:link, #topmenu a:visited {
padding-left: 10px;
}
#logo {
float: left;
}
And
Code:
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>header</title>
<link href="master.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="wrap">
<div id="header">
<div id="logo">
<h1>Logo</h1>
<div id="leftright"><span class="pathway"><a href="#" class="pathway">Home</a> > <a href="#" class="pathway">News</a></span></div>
</div>
<div id="topmenu">
<ul id="mainlevel-nav">
<li><a href="#" >Home</a></li>
<li><a href="http://localhost/#" class="mainlevel-nav" >FAQ</a></li>
<li><a href="http://localhost/#" class="mainlevel-nav" >Search</a></li>
<li><a href="http://localhost/#" class="mainlevel-nav" >Sitemap</a></li>
</ul>
<div id="topright">
<div class="moduletable">
<p>Contact information <br />
goes here </p>
</div>
<div class="moduletable">
<form action="#" method="get">
<div class="search">
<input name="#" id="#" maxlength="20" alt="search" class="inputbox" type="text" size="20" value="search..." onblur="if(this.value=='') this.value='search...';" onfocus="if(this.value=='search...') this.value='';" />
</div>
<input type="hidden" name="Itemid" value="" />
</form>
</div>
</div>
</div>
</div>
</body>
</html>
Bookmarks