document.write('<table class="header">');
document.write('<tr>');
document.write('<td width="420px">');
document.write('<a href="/"><img align="center" id="image1" src="/images/WAZURadioLogo.png" title="Home" /></a>');
document.write('</td>');
document.write('<td>');
document.write('<h1 align="center">"Occupying<br/>The Airwaves"</h1>');
document.write('</td>');
document.write('<td width="500px" align="center">');
document.write('<script type="text/javascript" src="/rand.js"></script>');
document.write('</td>');
document.write('</tr>');
document.write('</table>');
The problem occurring in IE (only) is that the randomized quote displays underneath the header as opposed to on the right hand side of the header as is intended and as it does in every other browser.
How do i fix this?
Edit:
The code for the randomized quote is:
var quotes = new Array('"Music is the electrical soil in which the spirit lives, thinks and invents." -Ludwig van Beethoven','"Music is a moral law. It gives soul to the universe, wings to the mind, flight to the imagination, and charm and gaiety to life and to everything." - Plato','"Music is the shorthand of emotion." - Leo Tolstoy','"The best time to plant a tree was 20 years ago. The second best time is now." - Chinese Proverb','"Remember not only to say the right thing in the right place, but far more difficult still, to leave unsaid the wrong thing at the tempting moment." - Benjamin Franklin','"Once you get people laughing, they are listening and you can tell them almost anything." - Herbert Gardner','"Never before the advent of radio did advertising have such a golden opportunity to make an ass out of itself. Never before could advertising be so insistent and so unmannerly and so affront its audience." - William J. Cameron','"I have found that luck is quite predictable. If you want more luck, take more chances. Be more active. Show up more often." - Brian Tracy','"I wrote a song, but I cannot read music. Every time I hear a new song on the radio I think, "Hey, maybe I wrote that."" - Stephen Wright','"New York: the only city where people make radio requests like "This is for Tina - I am sorry I stabbed you" - Carol Leifer','"it\'s wrong to create a mortgage-backed security filled with loans you know are going to fail so that you can sell it to a client who isn\'t aware that you sabotaged it by intentionally picking the misleadingly rated loans most likely to be defaulted upon" - Anon','"The trouble with quotes on the Internet is you never know if they are genuine" - Abraham Lincoln','Those who do not do politics will be done in by politics." - French Proverb','"Never worry about theory as long as the machinery does what it\'s supposed to do" - Robert A. Heinlein','"Most people go to their graves with their best music still inside them" - Oliver Wendell Holmes','"There are three principal ways to lose money: wine, women, and engineers. While the first two are more pleasant, the third is by far the more certain." - Baron Rothschild','"People were created to be loved, things were created to be used. The reason why the world is in chaos is because things are being loved, and people are being used." - Anon','"The two most important days in your life are: the day you are born, and the day you find out why." - Mark Twain','"Everyone is a genius. But if you judge a fish on it\'s ability to climb a tree, it will live it\'s whole life believing that it is stupid" - Albert Einstien');
var max = quotes.length;
var num = Math.floor((Math.random() * max));
document.writeln(quotes[num]);
This post has been edited by TechnoBear: 30 January 2012 - 03:46 PM

New Topic/Question
Reply


MultiQuote






|