Hi,
I am no expert but i have started using this code to prevent the information it displays from appearing in my site search and remaining private. Firefox displays it perfectly, but Safari 5 on OSX shows absolutely nothing? how can this be?
Is there something i can add so it will display in all browsers??
Any help on this will be much appreciated.
Thanks in advance.
Dave.
Code below ------------------------------------------
HTML Code:
<div id="dynContent"></div>
<script type="text/javascript">// <![CDATA[
var dyn = document.getElementById('dynContent');
dyn.innerHTML =
<table style="width: 480px;" align="left" border="0" cellpadding="3">
<tbody>
<tr>
<td style="text-align: center;">
<p><span style="font-family: helvetica; font-size: x-large;"><span style="color: #ff0066;"><strong>Main Title Goes Here</strong></span><br /></span><span style="font-family: helvetica; font-size: x-large;"><span style="font-size: small; color: #808080;"></span></span></p>
</td>
</tr>
<tr>
<td style="text-align: center;"><span style="font-family: helvetica; font-size: medium;"><span style="color: #808080;">Other: <span style="color: #000000;">Details</span><br /></span></span></td>
</tr>
</tbody>
</table>
// ]]></script>
Last edited by chrishirst; 07-30-2010 at 08:41 AM..
|