You are here: Re: input type=text and firefox versus ie « HTML « IT news, forums, messages
Re: input type=text and firefox versus ie

Posted by Jukka K. Korpela on 07/05/07 21:41

Scripsit johnebullock@hotmail.com:

> I am using an image input object to return the coordinates of a mouse
> click in a form submit. This is working fine with one exception.

You mean people who cannot click on a particular location because they are
using a speech browser or they suffer from motoric disability or they lack a
mouse right now or they just don't understand the concept?

> In IE the (x,y) are relative to the image, but in Firefox they are
> relative to the frame.

Frame? What frame? Why don't you post a URL?

> Here is the html from the page:
>
> <INPUT TYPE='image' STYLE='position:absolute;left:70;top:34;'
> ID='lbl_image' NOSAVE ALIGN='top' BORDER='0' WIDTH='300' HEIGHT='100'
> SRC='../../../cgi-bin/gtrtlm/c_lbl_image.cgi>

It's invalid markup, and it contains incorrect CSS code (the declarations
for left and top are ignored by conforming browsers), so what can you
expect?

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация