Hello there,
I am at my wits end trying to set a hyperlink to a background image in a Joomla header. The header now has two image…a logo on the left (no hyperlink) and a registration button on the right which I am trying to link to the registration page. I have a feeling it’s a problem with my div tags or absolute positioning but I am stumped!?!:goof:
Here is the css:
div#logo {
position: absolute;
width: 298px;
height: 75px;
top: 25px;
left: 35px;
background-image: url(‘…/images/joomla_logo.png’);
background-repeat: no-repeat;
}
#registration {
position: absolute;
width: 100px;
height: 50px;
top: 25px;
left: 750px;
display: block;
text-indent: -9999px;
background-image: url(‘…/images/registration_button.png’);
background-repeat: no-repeat;
}
#registration a {
position: absolute;
width: 100px;
height: 50px;
top: 25px;
left: 750px;
display: block;
}
Here is the html:
<body>
<a name=“up” id=“up”></a>
<jdoc:include type=“message” />
<div id=“center”>
<div id="wrapperholder">
<div id="wraptop"></div>
<div id="wrap">
<div id="header">
<div id="headerlinks">
<div id="headerrechts">
[B]<div id="logo">
<div id="registration">
<a id="registration" href="http://ipm-essen.com/index.php/component/user/register" title="registration button" a id="registration"></a>[/B]
</div>
<jdoc:include type=“modules” name=“top”/>
Any pointers would make my day!
Here is the site: http://ipm-essen.com
Thank you,
Johnny