your communities

The ability to make text flow around images would be a nice touch!

share|improve this question
    
any updates on how this can be achieved? –  0sh May 15 '12 at 23:42
add comment

1 Answer

The align attribute is deprecated, and is not allowed at all in http://www.w3.org/TR/html4/strict.dtd, which is the DTD which sites in the Stack Overflow family use.

In that DTD, the allowed attributes for image are as follows:

<!ATTLIST IMG
  %attrs;                              -- %coreattrs, %i18n, %events --
  src         %URI;          #REQUIRED -- URI of image to embed --
  alt         %Text;         #REQUIRED -- short description --
  longdesc    %URI;          #IMPLIED  -- link to long description
                                          (complements alt) --
  name        CDATA          #IMPLIED  -- name of image for scripting --
  height      %Length;       #IMPLIED  -- override height --
  width       %Length;       #IMPLIED  -- override width --
  usemap      %URI;          #IMPLIED  -- use client-side image map --
  ismap       (ismap)        #IMPLIED  -- use server-side image map --
  >

We'd better use something else if we want to do this.

share|improve this answer
6  
Transformation is already taking place, so <img align="right" src="..."> could become <div style="float: right;"><img ... /></div>, for example. –  Greg Bacon Feb 23 '10 at 18:46
add comment

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .