Case 2: HTML
<h2><a href="#">What We Do</a></h2>
<p class="tagline">Share Our Strength and our thousands of volunteers, chefs, and orporate partners have had a significant impact on the state of hunger in the United States and abroad.</p>
Case 2: CSS
#case2 h2 {
padding:0;
margin:0 0 6px 0;
width:198px;
height:31px;
overflow:hidden;
background:transparent url("h2_what.gif") top left no-repeat;
}
#case2 h2 a {
display:block;
width:198px;
height:31px;
background:transparent;
overflow:hidden;
text-indent:-9000px;
}
#case2 p.tagline {
margin:0 0 1.5em 0;
width:526px;
height:56px;
background:transparent url("h4_what.gif") top left no-repeat;
text-indent:-9000px;
}
« Back to Main «