473,387 Members | 1,535 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,387 software developers and data experts.

Works in IE, Firefox but not on Safari

Can someone tell me why the following code:

<table width="449" border="0" cellspacing="0" cellpadding="0"
align="center">
<tr>
<td><img src="images/whitespace.gif" alt="" border="0"><a
onmouseover="changeImages('web_copy_03','images/web-rollover_03.gif');return
true"
onmouseout="changeImages('web_copy_03','images/web-copy_03.gif');return
true" href="index.html"><img id="web_copy_03"
src="images/web-copy_03.gif" alt="" name="web_copy_03"
border="0"></a></td>
<td<a
onmouseover="changeImages('web_copy_04','images/web-rollover_04.gif');return
true"
onmouseout="changeImages('web_copy_04','images/web-copy_04.gif');return
true" href="agenda.html"><img id="web_copy_04"
src="images/web-copy_04.gif" alt="" name="web_copy_04"
border="0"></a></td>
<td<a
onmouseover="changeImages('web_copy_05','images/web-rollover_05.gif');return
true"
onmouseout="changeImages('web_copy_05','images/web-copy_05.gif');return
true" href="location.html"><img id="web_copy_05"
src="images/web-copy_05.gif" alt="" name="web_copy_05"
border="0"></a></td>
<td<a
onmouseover="changeImages('web_copy_06','images/web-rollover_06.gif');return
true"
onmouseout="changeImages('web_copy_06','images/web-copy_06.gif');return
true" href="sponsors.html"><img id="web_copy_06"
src="images/web-copy_06.gif" alt="" name="web_copy_06"
border="0"></a></td>
<td><a
onmouseover="changeImages('web_copy_07','images/web-rollover_07.gif');return
true"
onmouseout="changeImages('web_copy_07','images/web-copy_07.gif');return
true" href="registration.html"><img id="web_copy_07"
src="images/web-copy_07.gif" alt="" name="web_copy_07"
border="0"></a></td>
</tr>
</table>
Looks fine in IE and Firefox but looks like this in Safari:
http://www.amandadevries.com/adverts/site_wrong.gif

When it should look like this:

http://www.amandadevries.com/adverts/site_correct.gif
Thanks

Sep 9 '06 #1
1 2770

pi*********@hotmail.com wrote:
Can someone tell me why the following code:

<table width="449" border="0" cellspacing="0" cellpadding="0"
align="center">
<tr>
<td><img src="images/whitespace.gif" alt="" border="0"><a
onmouseover="changeImages('web_copy_03','images/web-rollover_03.gif');return
true"
onmouseout="changeImages('web_copy_03','images/web-copy_03.gif');return
true" href="index.html"><img id="web_copy_03"
src="images/web-copy_03.gif" alt="" name="web_copy_03"
border="0"></a></td>
<td<a
Prossibly because of error correction - close your opening TD tags are
wrong.

onmouseover="changeImages('web_copy_04','images/web-rollover_04.gif');return
true"
There is no point in returning true from the mouseover function, just
remove it. Why not use a:hover with CSS and get rid of the script
altogether? I thought everyone moved to CSS rollovers years ago:

<URL: http://alistapart.com/articles/taminglists/ >

[...]

--
Rob

Sep 9 '06 #2

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

Similar topics

4
by: ioneabu | last post by:
I am trying to do the basic task of setting a text field from the choice made from a select box. I learned how to code it from my O'Reilly Javascript reference which is a few years old. The code...
6
by: dpodkuik | last post by:
I have a simple function that does submit for me: <script language="javascript" type="text/javascript"> function sort() { //selected item value from the drop down list var...
1
by: steakhaus | last post by:
I just put up a new website that won't work in Firefox, but works fine in Safari. Are there any known problems? I designed it in Dreamweaver and the navigation bar has flash buttons that should...
4
by: Summercoolness | last post by:
does anyone know why this CSS works in IE 7 but not Firefox or Safari? (it works weird in Firefox and Safari) <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://...
2
by: JDeats | last post by:
>From my development envrionment (i.e. a single WinXP notebook PC) I have a basic AJAX application that is making the call to a Windows Form page that just returns the request back to the AJAX...
1
by: Gretsch | last post by:
I have modelled my program on the std code below (from http://www.w3schools.com/dom/dom_parser.asp).. It works in IE & Firefox, but does not work with Safari - nor does Safari issue the alert...
3
by: Arodicus | last post by:
I have a static class method, MyObject.MySub.MyMethod(), which points to a handler in a Flash SWF (but I think that's inconsequential). In reality, the path is a lot longer, so I'd like to make a...
5
by: rosaryshop | last post by:
I'm working a jewelry/rosary design web site at http://www.rosaryshop.com/rosariesAndKits2.php. As the user makes selections, it updates images of various parts, giving them a preview of the...
6
by: raknin | last post by:
I am creating a dynamic list on the server using php file,when I run the PHP script in all 4 browsers (IE 6, Firefox 2, opera and safari 3) every think go Ok and the list is created. but when I call...
4
by: AG | last post by:
Using ASP.NET 3.5 I have been using a standard menu control bound to a sitemapdatasource using a web.sitemap file. The menus work fine in IE and Firefox, but in Safari, they render horribly and...
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:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

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.