none
WLW image align still using [ align="right" ] instead of [ float: right; ] stylesheet syntax.

    Question

  • Anybody else find it weird that WLW is still using the 'align=xxxx' for wrapping text around an image instead of the future-proofing 'float: xxxx;' stylesheet syntax? It's equally puzzling that the image margin settings ARE using stylesheet syntax. Here is typical code generated by WLW.

    <img title="xxxxxxx" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; margin-left: 0px; margin-right: 0px; border-right-width: 0px" alt="xxxxxxxxxx" src="xxxxxxxxx" height="xx" width="xx" align="right" border="0" />
    preferred method should be float: right; as part of the style settings.

    <img title="xxxxxxx" style="border-top-width: 0px; display: inline; float: right; border-left-width: 0px; border-bottom-width: 0px; margin-left: 0px; margin-right: 0px; border-right-width: 0px" alt="xxxxxxxxxx" src="xxxxxxxxx" height="xx" width="xx" border="0" />
    Any future plan to correct this?

    Cheers
    Wednesday, April 15, 2009 7:59 PM

All replies

  • To add strength to the argument that using WLW using 'align=xxxx' for aligning images needs to be changed, this HTML attribute has been DEPRECIATED in IE7 onwards. Is this application still under active development? Is there a bug repository anywhere?
    Thursday, April 16, 2009 9:04 PM
  • You can file bugs through connect.microsoft.com, though it isn't the most user friendly website.  I'll file a bug for this though.
    -Brandon Turner [MSFT]
    Monday, April 20, 2009 3:57 AM