Forum Moderators: open
I am trying to write my partners name with links to their website in the footer of my website
Here is the line of code I currently have
<div id= <a href="'. URL_ROOT .'/" onclick="mywebmastercompanyname.Page.Open('. $homepage_oid .'); return false;"><a>mytextlinkhere</a></div>
my issue is that with this code I manage to write their name but that it doesn't get me to their page, it reloads my homepage...
I am not sure about the line of code i need to write to make sure it opens my partners webpage in a different page ?
Can anyone help ?
Thank you,
Mike
Here is entire footer code
<!-- Foot -->
<div id="foot-bg"> </div>
<div id="foot">
<a id="copyright" href="'. URL_ROOT .'" style="margin-top:-70px;;">'. t('copyright') .'</a>
<ul id="menu-foot">'. $menu_foot .'</ul>
<div id="foot-speech">' . $p->FooterRefLinks() . '</div>
<div id="ADD-STYLE"> <a href="http://www.yourpartnerssitelink.com"><a>mytextlinkhere</a></div>
</div>
a.white:link, a.white:visited, a.white:active {
color: #ffffff;
text-decoration: underline;
font-size: 11px; /* adjust to match the font size you want */
}
a.white:hover {
color: #ffffff;
text-decoration: none;
}
Then simply add this class to your link in the footer: class="white"
Notice where I added the class in my example below:
<a href="http://www.yourpartnerssitelink.com" class="white">mytextlinkhere</a>
If you want the text smaller, just change the 11px in the css code to 10px. If you want it bigger, change it to either 12px or 13px depending on how big you want it.
[edited by: MizzBia at 9:21 am (utc) on Oct. 21, 2008]
Here is what I currently have in my css footer what do I need to add to make sure the links I am creating at the bottom of what I already have stay white ?
Thank you,
ul#menu-foot
{
width: 912px;
height: 20px;
padding: 0;
margin: 0;
}
ul#menu-foot li
{
list-style-type: none;
display: inline;
color: rgb(128,128,128);
font-size: 9px;
white-space: nowrap;
text-decoration: uppercase;
margin-right: 18px;
}
ul#menu-foot li a
{
color: rgb(128,128,128);
font-size: 9px;
text-decoration: none;
text-transform: uppercase;
}
ul#menu-foot li a:hover
{
color: rgb(255,255,255);
}
div#foot-speech,
div#foot-speech *
{
color: rgb(128,128,128);
font-size: 9px;
}
div#foot-speech a
{
color: rgb(128,128,128);
text-decoration: none;
}
div#foot-speech a:hover
{
color: rgb(255,255,255)
Read these pages for more information:
[useit.com...]