This is invalid:
Code:
<a href="HOME">
<h1>Close To Home</h1>
</a>
It should of course be:
Code:
<h1><a href="HOME">Close To Home </a></h1>
3) remove the break from the form as it is pushing the form too high. You can set the inputs to display:block to start a new line. You had a margin on the h2 which was pushing it down.
This looks level to me.
Code:
#header form input {
margin: 0 0 0.5em 0;
width: 10em;
display:block
}
#header h1 {
text-indent: -9000px;
height:95px;
width:160px;
margin-top:-5px;
background-image: url(http://www.bbk.ac.uk/~ldela09/INFMA/images/CTH_03.png);
background-repeat: no-repeat;
float: left;
}
#header h2 {
font-size: 130%;
margin-left: 175px;
margin-top:0;
letter-spacing: 0.1em;
}
haslayout fix for IE.
Code:
#content {
margin-left: 250px;
margin-right: 10px;
font-size: 170%;
letter-spacing: 0.1em;
line-height: 115%;
min-height:0;
}
/* mac hide \*/
* html #content {height:1%}
/* end hide*/
Code:
<div id="header">
<h1><a href="HOME">Close To Home </a></h1>
<h2>Support and Guidance for Homeless People in Coventry </h2>
<form id="search_site" action="../meta/apology.html">
<fieldset id="search">
<input id="search_text" name="search" type="text" />
<input class="submit" type="submit" value="Search Site" />
</fieldset>
</form>
</div>
Bookmarks