Re: [NH] Re: Add Quickinfo to pictures
- Hello Website,
Sunday, August 20, 2006, 2:44:49 PM, you wrote:
> --- In email@example.com, Dennis Hays <dhays@...> wrote:Not as much as I would like. I found the following:
>> The attributes of an IMG tag are as follows:
>> Syntax <IMG>
>> Attributes SRC=URI (location of image)
>> ALT=Text (alternate text)
>> LONGDESC=URI (link to long description)
>> WIDTH=Length (image width)
>> HEIGHT=Length (image height)
>> USEMAP=URI (client-side image map)
>> ISMAP (server-side image map)
>> ALIGN=top|middle|bottom|left|right (image alignment)
>> BORDER=Length (link border width)
>> HSPACE=Pixels (horizontal gutter)
>> VSPACE=Pixels (vertical gutter)
>> The ALT is ALTERNATE text and should display on most modern
>> and be read by web readers for the hearing impaired. However, if
>> want to go through the trouble, you could use LONGDESC, but that
>> required you put the text on another HTML document and refer to it
>> with a URI.
> The ALT tag is shown as a 'tool tip' by hovering your mouse over the
> image, or if the image is missing, while using Internet Explorer.
> Mozilla Firefox requires the TITLE tag in order to show the 'tool
> tip'. Since IE does not recognize TITLE and Firefox does not
> recognize ALT, I have been using both tags to accommodate both
> browsers until they are updated to play nice together.
> The LONGDESC is a great tip. Do you know if it is recognized by both
> IE and Firefox?
> Website Managers
MOZILLA: Title on anything appears as tooltip. Alt text shown when image
is not; image size is not preserved when the image is absent, since the program
(correctly) gives you the text formatting that cascades onto the alt text
rather than a placeholder box the size of the graphic. You can contextual-menu-click
on a graphic, select Properties, and read its title and alt text and the
link to a long description (or just the URL-- it isn't a live hyperlink).
Tested in Mozilla 1.3 Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US;
SAFARI: Title on anything shown in status line, as iCab does. No support
for longdesc. Appears to emulate Mozilla's behaviour (ignoring image placeholder
box; cascading text formatting) with alt text. Tested 1.0 beta 2 (v73).
OMNIWEB. No title support. No longdesc support. Shows alt text with broken-graphic
placeholder icon and (apparently) full-sized placeholder box. Tested 4.2
LYNX. Alt text rendered as normal text. No support for longdesc. Support
for title on a elements and a few other elements only (working from memory,
map and area titles are shown, but not verified here), though not images.
INTERNET EXPLORER. Titles for everything rendered as tooltip. No support
for longdesc. Alt text appears with broken-graphic placeholder icon in placeholder
box the size of the image. Tested 5.2.2 (5010.1) on OS X.
So, TITLE appears to be the best, at this point and maybe your
solution--both ALT and TITLE--is the best.
Secrets of Digital Imaging
Photo News Today
The Blues and Jazz Show
Sent on Sunday, August 20, 2006 at 3:22 PM USA Eastern
ICQ: 200045507 / AIM: edennishays
yahoo: dennishays / Jabber: dennishays
- Op zo, 20-08-2006 te 12:40 -0700, schreef sisterscape:
> You might want to keep in mind that the following IMG attributes areWhere did you read this?
> now deprecated:
> This is important to know if you want to write code to currentNot on this side. I can not remenber that it is the CSS that I use, but
> standards and have it work cross-browser. The last time I was coding
> (a few months back), I observed that the hspace and vspace attributes
> were ignored in Firefox and instead, had to be set with CSS.
I will look to be sure. But Firefox here display correct border, space,
- Here you go - http://www.w3.org/TR/html4/index/attributes.html
This is nothing new. When I started to code HTML in 2002 (and shortly
thereafter xhtml), these and many other attributes were already
--- adrien <adrien.verlee@...> wrote:
> Op zo, 20-08-2006 te 12:40 -0700, schreef sisterscape:__________________________________________________
> > You might want to keep in mind that the following IMG attributes
> > now deprecated:
> > align
> > border
> > hspace
> > vspace
> Where did you read this?
> > This is important to know if you want to write code to current
> > standards and have it work cross-browser. The last time I was
> > (a few months back), I observed that the hspace and vspace
> > were ignored in Firefox and instead, had to be set with CSS.
> Not on this side. I can not remenber that it is the CSS that I use,
> I will look to be sure. But Firefox here display correct border,
> CSE HTML Validator Lite - it's free:
> Fookes Software Home: http://www.fookes.us/redir
> Yahoo! Groups Links
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
- --- Hi evrybody,
thanks very much for the quick reply. i will stick to the hint with
TITLE- and ALT-tag which solved my problem.
Thanks again, Raimund.