Solved

popover appears differently in firefox than in google chrome

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

912 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now