|
Posted by Martin Jay on 06/21/06 01:51
In message <1150851249.198184.17550@c74g2000cwc.googlegroups.com>,
fleemo17@comcast.net writes
>I have another table layout that looks good in all the browsers I've
>tested it in *except*, once again, IE on the PC. In IE there's extra
>space around some of the table cells making up the layout. Apparently,
>the problem lies with the bit of javascript I've used to randomly
>display a photo on the page. If I take the javascript out, the pieces
>of the layout fit together seamlessly. Put the javascript back in and
>gaps appear.
>
>Here's the line of code:
><td colspan="2"><script type="text/javascript"
>src="random_header.js"></script><noscript><img src="images/random1.jpg"
>width="268" height="275" alt="Polaroid of Kilee"></noscript></td>
The HMTL of the page looks like this here.
<SCRIPT src="The Kilee Cooper Website_files/random_header.js"
type=text/javascript></SCRIPT>
<NOSCRIPT><IMG height=275 alt="Polaroid of Kilee"
src="The Kilee Cooper Website_files/random1.jpg"
I'm not splitting hairs, though. Just pointing out that </SCRIPT> and
<NOSCRIPT> need to be next to each other, like so:
<SCRIPT src="The Kilee Cooper Website_files/random_header.js"
type=text/javascript></SCRIPT><NOSCRIPT><IMG height=275
alt="Polaroid of Kilee"
src="The Kilee Cooper Website_files/random1.jpg"
And remove the "\n" from the random_header.js file, so:
document.write(programs[index] + "\n");
becomes:
document.write(programs[index]);
--
Martin Jay
Phone/SMS: +44 7740 191877
Fax: +44 870 915 2124
Navigation:
[Reply to this message]
|