473,386 Members | 1,715 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Mouseover problem in Firefox

I am using a very simple mousover script for the buttons at this URL -
http://www.amrinc.net/lhsBand/mouseoverProblem.cfm

In Firefox, the ON state of the buttons includes a 1-pixel hairline gap
on the far left of the button. It only does this when it is centered.
It doesn't appear when the buttons are not centered.
It works fine in IE.
Here is the code -

a href="about/"
onMouseOver="document.the_image1.src='/images/menuTop/aboutON.gif';"
onMouseOut="document.the_image1.src='/images/menuTop/aboutOFF.gif';"><img
name="the_image1" IMG SRC="/images/menuTop/aboutOFF.gif" ALT="About"
border="0" width=49 height="32"></a>
Does anyone have any ideas how to correct this?

Thanks,
Chris

Aug 28 '05 #1
2 2890
I should also mention that the problem doesn't occur in Firefox when
the broswer is set at Maximize to take up the whole screen.

Aug 28 '05 #2


ch************@yahoo.com wrote:
I am using a very simple mousover script for the buttons at this URL -
http://www.amrinc.net/lhsBand/mouseoverProblem.cfm
Lots of markup errors:
<http://validator.w3.org/check?uri=http%3A%2F%2Fwww.amrinc.net%2FlhsBand%2F mouseoverProblem.cfm&charset=%28detect+automatical ly%29&doctype=Inline&ss=1&verbose=1>

a href="about/"
onMouseOver="document.the_image1.src='/images/menuTop/aboutON.gif';"
onMouseOut="document.the_image1.src='/images/menuTop/aboutOFF.gif';"><img
name="the_image1" IMG SRC="/images/menuTop/aboutOFF.gif" ALT="About" ^^^
Same here.
Does anyone have any ideas how to correct this?


You could start fixing the errors and have a valid HTML document so that
Firefox is in strict, standards compliant rendering mode.

Then tell us exactly which Firefox version you see the problem with,
maybe also provide a screen shot that outlines the problem, I can't
currently see it.
--

Martin Honnen
http://JavaScript.FAQTs.com/
Aug 28 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Tyrone Slothrop | last post by:
I am coding a site which involves uploading images. All of the PHP and display is OK but the client wants to be able to display the image thumbnail on the upload page and show the full image on...
9
by: Kim | last post by:
Hi I'm trying to do something like this. for(i=0; i<5; i++){ var theData = document.createElement('a'); theData.onmouseover = function() { return get(i);} ... ... }
5
by: JB | last post by:
I am struggling to figure out a way to allow one element to be dragged, but still capture 'mouseover' events on other elements. I've created a simple example to demonstrate what I mean:...
2
by: Amy | last post by:
<style> div.helpBtn{ font:bold 73% verdana; color:#995F8D; text-align:left; width:79px; height:24px; margin:0px; padding: 5px 0px 0px 27px; background:...
10
by: jjamjatra | last post by:
I am struggling with a event model handling problem in Javascript that shows up only in Firefox. I have 2 little websites I'd like you to take a look at: ...
1
by: SunshineInTheRain | last post by:
The following code is dynamic create dropdownmenu which data within pulled from database However, the code work well on IE but not on Firefox. On Firefox, the whole mouseover and mouseout function...
2
by: markszlazak | last post by:
I'm a relatively slow response of table cells changing their background color with mouseover/our in IE6 (Win 2K) but the response is fine (fast) in Firefox. Why? The code is below. Sorry about the...
2
by: markszlazak | last post by:
Could someone check out the following code and please help me understand the problem and fix it. It seems like some events are not firing when my mouse moves over the table cells to quickly causing...
5
by: bdy120602 | last post by:
Is it possible, when a user or viewer of your Web page, prints or takes a screen shot of a Web page with mousover (roll-over) text in it, to have that text printed or captures as part of the screen...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.