Adding links in to the header : Header « Basic Tags « HTML / CSS

HTML / CSS
1. Background Attributes
2. Basic Attributes
3. Basic Tags
4. Box Model
5. CSS Attributes and Javascript Style Properties
6. CSS Controls
7. Form Attributes
8. Form Style
9. Form Tags
10. Frame Attributes
11. Frame Tags
12. HTML
13. IE Firefox
14. Images
15. Layout
16. Layout Attributes
17. Link Attributes
18. Link Tags
19. List Attributes
20. List Style
21. List Tags
22. Marquee Attributes
23. Meta Tags
24. Microsoft Attributes
25. Object Attributes
26. Object Tags
27. Reference
28. Style Basics
29. Styles Tags
30. Table Attributes
31. Table Style
32. Table Tags
33. Text
34. Text Attributes
35. Text Tags
36. XML
Java
Java Tutorial
Java Source Code / Java Documentation
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
HTML / CSS » Basic Tags » Header 
Adding links in to the header
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
body {
  margin: 10px 40px;
  padding: 0;
  text-align: center;
  font-size: 62.5%;
}

#wrapper {
  text-align: left;
  border: 1px solid #033;
  position: relative;
  font-size: 1.4em;
}

#header {
  background: red;
  color: #fff;
  height: 55px;
  position: relative;
}

#header h1,#header h2 {
  position: absolute;
  padding: 0;
  margin: 0;
}

#header h1 {
  top: 5px;
  left: 8px;
  height: 50px;
  background: gold;
}

#header h2 {
  top: 20px;
  left: 193px;
}

#headerlinks {
  float: right;
  font-size: 0.8em;
  background: blue;
  padding: 6px 6px 8px 10px;
}

#headerlinks a:link,#headerlinks a:visited,#headerlinks a:hover,#headerlinks a:active
  {
  color: #fff;
}
</style>
</head>

<body id="cols3">
<div id="wrapper">
 <div id="header">
 <h1>header</h1>
 <h2>header 2</h2>
 <div id="headerlinks">
    <a href="">Contact Us</a> | 
    <a href="">Site Map</a> | 
    <a href="">Store Locator</a></div>
 </div>
</div>
</body>
</html>

 
Related examples in the same category
1. Headings
2. Inline style for header 3
3. Header font setting
4. Heading with background
5. header with absolute position
6. Header text alignment: center
7. Set font size for

8. header 2 background image setting
9. Set font size to 1em
10. Hide
in
11. Use
12. Set

in header

13. Set

in header section

14. Heading with margin
15. Use bold font to highlight heading
16. Adding top and bottom margin for heading
17. Set font for header 1
18. Background with bottom border
19. Border for header
20. Inline style for header
21. 

overflow hidden

22. Add the Left Margin
23. Header content section
24. Header, image and content
25. h1 padding: 10px
26. News Header style
27. A fixed header
28. Letter Spacing in Headlines
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.