PDA

View Full Version : [CSS] headers... (N00b of CSS)



chrisclick
June 24th, 2006, 03:09 PM
Hi Guys and Gals,

I am a n00b of CSS and i need to know how to create a header that goes at the top of a page with the links below it...

Help is much apprechiated :P

#thanks

://chris

NANO3
June 25th, 2006, 03:00 AM
ok...



<style type="text/css">
<!--
}
.header {
width: 600px;
height: 250px;
background-image:url(header.jpg);
align:center;
}
.navigation {
width:600px;
height:25px;
align:center;
}
-->
</style>



This is what you should have in your styles tag in your HTML header [note: this is basic CSS, not proper, efficient coding.]

In your body, you should have:


<div class="header">
</div>
<div class="navigation">
<span>link</span>
<span>link</span>
<span>link</span>
</div>


:look: I think.. someone please verify.