Download & Extend

align, hspace, vspace, border are deprecated?

Project:Image filter
Version:6.x-1.0-rc1
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

http://www.w3schools.com/tags/tag_IMG.asp indicates align, hspace, vspace and border attributes of img are deprecated.

I manually removed the chunks of code relating to implementing align specifically since it was breaking the layout of my content as appears with modern browsers. I'm rather surprised that this deprecated functionality is still available in a recent version of this module.

Comments

#1

Specifically, firebug for Firefox was indicating that a DIV element that contained the [image] only had a height of 16 pixels, and elements adjacent to that div element weren't aligning properly. The image within the DIV element had a 200+ pixel height. How can a parent DIV element containing a 200+ pixel height image be only 16 pixels in height? align=left,right

More importantly, the new syntax seemed to REQUIRE the alignment as the first parameter. X_X