Solved

popover appears differently in firefox than in google chrome

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
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 receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will learn the basics of jQuery including how to code hide show and toggles. 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…

813 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

18 Experts available now in Live!

Get 1:1 Help Now