Solved

popover appears differently in firefox than in google chrome

Posted on 2009-04-03
3
440 Views
Last Modified: 2013-11-19
I have some code at the bottom of my html page that displays a submit button after 1 second on the right side of my Google Chrome browser window. It displays nicely in Chrome. But, when I view the page (http://www.residualincomeformulas.com) in Firefox, the submit button appears in the middle of the page rather than the right sidebar where it should appear.

Can someone modify the code so it works across all browser platforms?
0
Comment
Question by:cbradstreet
  • 2
3 Comments
 

Author Comment

by:cbradstreet
ID: 24057574

<div id="hid" style="visibility: hidden" align="center"><table border="0" cellspacing="0" cellpadding="5" align="center" style="position:fixed;right:100px;top:200px;_position:absolute;_top:expression(eval(document.compatMode && document.compatMode=='CSS1Compat') ? documentElement.scrollTop+screen.height*0.002 : document.body.scrollTop+screen.height*0.002)"><tr><td align="center"><span style="font-size:13px;xfont-weight:bold;color:#000000;">Retail Price <strike>$997</strike></span><br><span style="font-size:14px;font-weight:bold;color:#FF0000;">YOUR Price $147 Today</span></td></tr><tr><td nowrap style="background:#CE0000" onMouseDown="this.style.backgroundColor='#CE0000'" onMouseOver="this.style.backgroundColor='#009900'" onMouseOut="this.style.backgroundColor='#CE0000'"><input type="button" onClick="exit=false;document.location='#orderbuttons'" style="font-family:tahoma;font-size:11pt;cursor:pointer;" value="Add to Cart >> ($147)"></td></tr></table></div>
 
<script type="text/javascript">
function showIt() {
document.getElementById("hid").style.visibility = "visible";
}
setTimeout("showIt()", 1000); // after 1 sec
</script>

Open in new window

0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 24071073
I do not see anything in FF Mac - perhaps it disappears among the MLM waffle but I really do not see what you mean
0
 

Accepted Solution

by:
cbradstreet earned 0 total points
ID: 24072793
Problem was the <table align="center"> ... removed this and it works nicely now in Firefox.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
This article discusses how to create an extensible mechanism for linked drop downs.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question