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
Solved

popover appears differently in firefox than in google chrome

Posted on 2009-04-03
3
439 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

829 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