How to center everything in the header
-
what is the best code to use to center the header in the below situation?
/* header
—————————————————————- */div#header {
background: url(‘images/bg_header_top.gif’) repeat-x 0 0;
}
div#header-l {
background: url(‘images/bg_header_left.gif’) no-repeat 0 0;
}
div#header-r {
width: 100%;
position: relative;
background: url(‘images/bg_header_right.gif’) no-repeat 100% 0;
}/* logo text */
h1#blog-title {
font: 2.5em/normal Arial, Helvetica, sans-serif;
margin: 0;
padding: 13px 0 0 23px;
line-height: 1em;
}
h1#blog-title a, h1#blog-title a:link, h1#blog-title a:visited {
color: #8a2;
text-decoration: none;
}
h1#blog-title a:hover {
color: #fff;
}
div#blog-description {
padding: 0 0 5px 23px;
color: #999;
font-size: 85%;
font-family: Verdana, Geneva, sans-serif;
}Thanks
- The topic ‘How to center everything in the header’ is closed to new replies.