Skip navigation
sportzel01
Currently Being Moderated

Validation error on Spry Image Swap in Dreamweaver cs5

Aug 4, 2012 10:07 AM

Tags: #cs5 #dreamweaver #spry

In Dreamweaver I'm using the spry swap image, and when I validate it says "

The name attribute on the img element is obsolete. Use the id attribute instead."

…y-7-28.jpg" alt="benny" name="largeswap" class="border" id="largeswap" /></div>

 

Dreamweaver automatically puts in the name attribute.  When I took it out, since the id attribute was already there and saved, Dreamweaver puts it back in automatically.  This is a class project and I need it to validate, can anyone give me any help as to how to get this to validate?

Thanks for your help.

 

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points