Enlighten Custom Header Help

volgan

New Member
okay I've design a custom header by CSS and images and stuff for enlighten skin form extreme pixels but the header looks goofy when i apply the custom header over the original one
So heres the custom header code:

HTML:
<a name="top"></a>
<div id='banner'><div id='banner_right'><div id='logo'>
<div id='user_con'>
<div id="userlinksguest">
<div style='text-align: center; padding-top: 18px;'>
</div>
</div>
</div>
</div></div></div>
<!-- Navigation Set -->
<div id='nav_con'><div id='nav_con_left'><div id='nav_con_right'>
<div id='nav'>
<ul>
<li><a href="$vboptions[forumhome].php?$session[sessionurl]" class='nav_home'><span>Home</span></a></li>
<if condition="$show['registerbutton']">
<li><a href="register.php$session[sessionurl_q]" rel="nofollow" style="color:#DF761A;" class='nav_rules'><span>$vbphrase[register]</span></a></li>
</if>
<li><a href="forums.php" class='nav_component'><span>Forums</span></a></li>
<if condition="$show['member']">
<li><a href="usercp.php$session[sessionurl_q]" class='nav_help'><span>$vbphrase[user_cp]</span></a></li>
<li><a href="arcade.php" class='nav_component'><span>Arcade</span></a></li>
</if>
<li><a href="#" class='nav_search'><span>#</span></a></li>
<li><a href="#" class='nav_search'><span>#</span></a></li>

<else />
</ul></div>
</div></div></div>
<div class="clear"></div>


The CSS
HTML:
h1#logo, h1#logo a {
	width: 252px;
	height: 75px;
        margin-top:7px;
}

h1#logo {
	margin: 0px;
	padding: 8px 0px 2px 0px;
	height: 95px;
}

img {
       border:0;
}

h1#logo a {
	display: block;
	text-indent: -20000px;
	background: url(images/checkered/misc/logo.gif) no-repeat top left;
        height:114px; 
}

.topBanner {
       float:right;
       margin-top:20px;
       border:2px solid #fff;
}

ul#navi {
	margin: 0px 0px 25px 0px;
	padding: 7px 0px 0px 0px;
	text-align: center;
	height: 28px;
	list-style-type: none;
	float:left;
}

ul#navi li {
	display: block;
	float:left;
	height:28px;
}

ul#navi li a:link, ul#navi li a:hover, ul#navi li a:visited {
	color: #f2ab1a;
	font-size: 14px;
	font-family: "Trebuchet MS", helvetica, arial, verdana, sans-serif;
	text-decoration: none;
        display:block;
        padding: 3px 10px 3px 10px;
        height:22px;
        float:left;
}

ul#navi li a:hover {
	color: #c0c0c0;
        background-color:#535353;
}

div#rounded-wrap {
	background: #FFFFFF url(images/checkered/gradients/gradient_rounded.gif) repeat-x top left;
	border: 2px solid #FFFFFF;
	border-width: 0px 2px;
	padding: 5px 16px;

}

div#rounded-top {
	background: transparent url(images/checkered/misc/top-left.gif) no-repeat top left;
	position: relative;
	top: -5px;
	left: -18px;
}

div#rounded-top span, div#rounded-bottom span {
	display: block;
	height: 11px;
	position: relative;
	left: 36px;
}

div#rounded-top span {
	background: transparent url(images/checkered/misc/top-right.gif) no-repeat top right;
}

div#rounded-bottom {
	background: transparent url(images/checkered/misc/bottom-left.gif) no-repeat top left;
	position: relative;
	top: 5px;
	left: -18px;
}

div#rounded-bottom span {
	background: transparent url(images/checkered/misc/bottom-right.gif) no-repeat top right;
}

.nopad {
	padding: 0px;
}

div#footer-text {
	font-size: 10px;
	margin-top: 15px;
	text-align: center;
}

div#footer {
	padding: 15px 0px;
}

div#footer ul {
	list-style-type: none;
	float: right;
	display: inline;
	padding: 0px;
	margin: 0px;
}

div#footer ul li {
	display: inline;
	margin-right: 10px;
}

div#footer ul li a:link, div#footer ul li a:visited {
	font-weight: bold;
	text-decoration: none;
	color: #f2ab1a;
	font-size: 12px;
}

div#footer ul li a:hover {
	font-weight: bold;
	text-decoration: none;
	color: #fff;
	font-size: 12px;
}

.altclass {
	border-top: 1px solid #d5d5d5;
}

#collapseobj_forumhome_legend .alt2 { 
	color: #a31900;
}

div#navbsr {
	color: #111;
	font-size: 12px;
}

div#navbsr a:link, div#navbsr a:visited {
	color: #555;
        font-weight:bold;
	text-decoration: none;
	border-bottom: 1px dashed #555;
}

div#navbsr a:hover {
	color: #111;
	text-decoration: none;
	border-bottom: 1px dashed #f2ab1a;
}

div#navbsr .left {
	margin-right: 345px;
	padding: 15px 0px 0px 15px;
}

div#navbsr .left span.last {
	font-weight: bold;
}

div#navbsr .leftin {
	padding-top: 28px;
	margin-right: 275px;
}

div#navbsr .right {
	float: right;
	padding: 15px 5px 0px 0px;
	width: 275px;	
}

div#navbsr .rightout {
	padding: 5px 5px 0px 0px;
	width: 360px;
}

div#navbsr .rightout form {
	padding: 0px;
}

div#navbsr .rightout div {
	float: left;
	width: 142px;
	height: 23px;
	background: url(images/checkered/misc/input.gif) no-repeat top left;
	padding: 8px 0px 0px 8px;
	margin-left: 5px;
}

div#navbsr .rightout div input {
	border: 0px;
	padding: 0px;
	background: transparent;
	font-size: 12px;
	font-weight: bold;
	color: #111;
	vertical-align: middle;
}

div#navbsr .rightout label {
	display: none;
}

div#navbsr .rightout .submit {
	float: left;
	padding: 8px 0px 0px 5px;
}

div.clearit {
	clear: both;
	margin-top: 15px;
}

.clear {
	clear:both;
}


div.acat {
	background: #373637 url(images/checkered/misc/tile_cat.gif) repeat-x;
	padding: 0px;
	margin: 0px 1px;
}

div.acat div.left {
	background: transparent url(images/checkered/misc/tcat_left.gif) no-repeat top left;
}

div.acat div.right {
	background: transparent url(images/checkered/misc/tcat_right.gif) no-repeat top right;
	padding: 8px 8px 8px 15px;
}

div.acat div.right .fright a {
	margin-right: 10px;
}

.fright {
	float: right;
}

.notop {
	border-top-width: 0px;
}

td.smallpage {
	font-size: 12px;
	font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}

fieldset { border: 1px solid #d5d5d5; }

#cb_cookieuser_navbar {
        margin-top:9px;
}

#nav_con{
	background: url(images/checkered/misc/nav_row.gif) repeat-x 0 0;
	height: 35px;
	overflow: hidden;
}

#nav_con_left{
	background: url(images/checkered/misc/nav_row.gif) no-repeat 0 -36px;
	height: 35px;
}

#nav_con_right{
	background: url(images/checkered/misc/nav_row.gif) no-repeat 100% -72px;
	height: 35px;
}

#nav{
	padding-top: 4px;
}

#nav ul{
	list-style-type: none;
	margin:0;
	margin-left: 5px; /*Left offset of entire tab menu relative to page*/
	padding:0;
}

#nav li{
	display:inline;
	margin:0;
	padding:0;
}

#nav a:link,
#nav a:visited,
#nav a:hover,
#nav a:active{
	float:left;
	background:url(images/checkered/misc/nav_icon.gif) no-repeat 0 0;
	margin:0;
	margin-right: 3px;
	padding:0 0 0 28px;
	text-decoration:none;
	outline: none;
}

#nav a.nav_home{
	background-image: url(images/checkered/misc/nav_home.gif);
}

#nav a.nav_calendar{
	background-image: url(images/checkered/misc/nav_calendar.gif);
}

#nav a.nav_component{
	background-image: url(images/checkered/misc/nav_component.gif);
}

#nav a.nav_help{
	background-image: url(images/checkered/misc/nav_help.gif);
}

#nav a.nav_members{
	background-image: url(images/checkered/misc/nav_members.gif);
}

#nav a.nav_search{
	background-image: url(images/checkered/misc/nav_search.gif);
}

#nav a.nav_rules{
	background-image: url(images/checkered/misc/nav_rules.gif);
}

#nav a span{
	float: left;
	display: block;
	background: url(images/checkered/misc/nav_link_bg.gif) no-repeat right top;
	padding: 5px 11px 5px 10px;
	font-weight: bold;
	color: #9ea0a3;
	text-transform: uppercase;
	cursor: pointer;
}

/* Commented Backslash Hack hides rule from IE5-Mac \*/
#nav a span {float:none;}
/* End IE5-Mac hack */

#nav a:hover span,
#nav a:active span,
#nav a:focus span {
	color: #fff;
	background-position: 100% -27px;
	text-shadow: #000 0px 0px 3px;
}

#nav a:hover,
#nav a:focus,
#nav a:active{ /*onMouseover style*/
	background-position: -28px 0; /*Shift background image up to start of 2nd tab image*/
}

#user_con{
	float: right;
	width: 429px;
	height: 60px;
	margin: 10px 20px 0 0;
	background: url(images/checkered/misc/banner_user.gif) no-repeat;
	overflow: hidden;
}

#userlinks,
#userlinksguest{ 
	padding: 2px 7px 0 7px;
	clear: both;
	color: #fff;
	font-size: 11px;
	line-height: 17px;
}

#userlinks div{
	padding: 5px 0 5px 0;
}

#userlinks a:link,
#userlinks a:visited,
#userlinks a:hover,
#userlinks a:active,
#userlinksguest a:link,
#userlinksguest a:visited,
#userlinksguest a:hover,
#userlinksguest a:active{
	color: #fff;
	text-decoration: none;
}

#userlinks div.soft a:link,
#userlinks div.soft a:visited,
#userlinks div.soft a:hover,
#userlinks div.soft a:active,
#userlinks div.soft{
	color: #adafb3;
	text-decoration: none;
}

#userlinks a:hover,
#userlinksguest a:hover,
#userlinks div.soft a:hover{
	text-decoration: underline;
}

#userlinks p,
#userlinksguest p{
	background: transparent !important;
	border: 0 !important;
	font-size: 11px;
	font-weight: bold; 
	margin: 0 !important;
	text-align: left;
}

#userlinks p,
#userlinksguest p{
	font-weight: normal;
}

#userlinksguest p.pcen{
	text-align: center;
}

#userlinks p.home,
#userlinksguest p.home{
	float: left;
}

#navstrip{ 
	background: transparent;
	color: #435f89;
	font-size: 12px;
	font-weight: bold;
	margin: 0 0 5px 0;
	padding: 5px 0px 8px 0px;
	border-bottom: 1px solid #dcdcdd;
}

#navstrip a:link, 
#navstrip a:visited{ 
	color: #435f89;
	text-decoration: none;
}

#navstrip a:hover, 
#navstrip a:active{
	background: transparent; 
	color: #7d9bc8;
}

#banner{
	background: url(images/checkered/misc/banner_bg.gif) repeat-x 0 0;
	height: 81px;
}
#banner_right{
	background: url(images/checkered/misc/banner_right.gif) no-repeat 100% 0;
	height: 81px;
}
#logo{
	background: url(checkered/misc/banner_sg.png) no-repeat 0 0;
	height: 81px;
}
#logostrip{
	background: #303b4a;
	height: 69px;
	margin: 0;
	padding: 0;
	text-align: left;
}
.quotetop{
	background: #e8eff6 url(images/checkered/misc/table_th.gif) repeat-x 0 100%;
	border: 1px solid #b9c0d1;
	border-bottom: 0;
	border-left: 4px solid #b9c0d1;
	color: #474a50;
	font-weight: bold;
	font-size: 10px;
	margin: 2px auto 0 auto;
	padding: 3px;
}

.quotemain{
	background: #f8f9f9;
	border: 1px solid #b9c0d1;
	border-left: 4px solid #b9c0d1;
	color: #959595;
	padding: 4px;
	margin: 0 auto 0 auto;
}

.codetop,
.sqltop,
.htmltop{
	background: #e8eff6 url(images/checkered/misc/table_th.gif) repeat-x 0 100%;
	color: #474a50;
	border: 1px solid #b9c0d1;
	border-bottom: 0;
	border-left: 4px solid #b9c0d1;
	font-weight: bold;
	margin: 0 auto 0 auto;
	padding: 3px;
}

.codemain,
.sqlmain,
.htmlmain{
	background: #f8f9f9;
	border: 1px solid #b9c0d1;
	border-left: 4px solid #b9c0d1;
	color: #959595;
	font-family: Courier, "Courier New", Verdana, Arial;
	margin: 0 auto 0 auto;
	padding: 2px;
}

Don't mind the # nav those just empty ones i haven't gotten to put into vbulletin template coding xD

so is their a way to make this work on enlighten skin because i want it to work correctly
 
Back
Top