Hello,
Somehow, I can not put a standard banner at the top of the page using a modified version of luna templates.
Everytime I put the banner appears below the logo or above it ....
What am I doing wrong here...??
I created a banner tag at the bottom of the CSS file... like this:
margin-left: 252px;
margin-top: 0px;
border: 0px solid blue;
width: 468px;
height: 60px;
background: transparent url(/image/carhead.gif) top left no-repeat;
text-indent: -9999px;
}
#banner a {
text-decoration: none;
display: block;
width: 100%;
height: 100%;
}[/code]Then I added the banner tag in the include_header.html page... like this:
<div id="loginbar"><a href="<%config.db_cgi_url%>/user.cgi<%if user.Username%>?logout=1<%endif%>" class="<%if user.Username%>in<%else%>out<%endif%>"><%if user.Username%>Logout<%else%>Login/Register<%endif%></a></div>
<div id="logo"><h1><a href="<%config.build_root_url%>"><%site_title%></a></h1></div>
<div id="banner"><a href="http://www.domain.com">Visit Out Sponsor</a></div>
</div>[/code]
I need to put the logo, banner, and loginbar all on one line ....
thanks for your help
Mark
Somehow, I can not put a standard banner at the top of the page using a modified version of luna templates.
Everytime I put the banner appears below the logo or above it ....
What am I doing wrong here...??
I created a banner tag at the bottom of the CSS file... like this:
Code:
#banner { margin-left: 252px;
margin-top: 0px;
border: 0px solid blue;
width: 468px;
height: 60px;
background: transparent url(/image/carhead.gif) top left no-repeat;
text-indent: -9999px;
}
#banner a {
text-decoration: none;
display: block;
width: 100%;
height: 100%;
}
Code:
<div id="header"> <div id="loginbar"><a href="<%config.db_cgi_url%>/user.cgi<%if user.Username%>?logout=1<%endif%>" class="<%if user.Username%>in<%else%>out<%endif%>"><%if user.Username%>Logout<%else%>Login/Register<%endif%></a></div>
<div id="logo"><h1><a href="<%config.build_root_url%>"><%site_title%></a></h1></div>
<div id="banner"><a href="http://www.domain.com">Visit Out Sponsor</a></div>
</div>
I need to put the logo, banner, and loginbar all on one line ....
thanks for your help
Mark