Solved

popover appears differently in firefox than in google chrome

Posted on 2009-04-03
3
441 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

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.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

751 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