mr johnson
05-09-2006, 07:52 AM
Hi All,
At http://69.36.187.233/index.shtml I'm using a css to define hyperlink properties throughout the site. Works fine but in the footer - which has a bg the same as the font color of the links in the rest of the page - the link, an email address - is there and functional but invisible since it's the same color as the bg of the cell that contains it.
The css overrides both a <font color=> and a <td style=> tag. I've tried both.
Any suggestion or could someone point me to an example to create an exception for this? The footer is an .inc statement (last <div> on the page) and appears on every page. The email address is only displayed on the screen by a .js to prevent harvesting of the address from the html.
The js is
var somebody = "info";
var somewhere = "ugwa.org";
function hemi()
{
document.write("<a href=\"mailto");
document.write(":" + somebody + "@");
document.write(somewhere + "\">" + somebody + "@" + somewhere + "<\/a>");
}
and is invoked by
<script language="JavaScript" type="text/javascript">hemi()</script>
at the bottom of the page
Thanks
mr johnson
At http://69.36.187.233/index.shtml I'm using a css to define hyperlink properties throughout the site. Works fine but in the footer - which has a bg the same as the font color of the links in the rest of the page - the link, an email address - is there and functional but invisible since it's the same color as the bg of the cell that contains it.
The css overrides both a <font color=> and a <td style=> tag. I've tried both.
Any suggestion or could someone point me to an example to create an exception for this? The footer is an .inc statement (last <div> on the page) and appears on every page. The email address is only displayed on the screen by a .js to prevent harvesting of the address from the html.
The js is
var somebody = "info";
var somewhere = "ugwa.org";
function hemi()
{
document.write("<a href=\"mailto");
document.write(":" + somebody + "@");
document.write(somewhere + "\">" + somebody + "@" + somewhere + "<\/a>");
}
and is invoked by
<script language="JavaScript" type="text/javascript">hemi()</script>
at the bottom of the page
Thanks
mr johnson