[wp-hackers] WP-Caption/Image use inline styles

Otto otto at ottodestruct.com
Thu Feb 18 21:56:30 UTC 2010


On Thu, Feb 18, 2010 at 11:59 AM, Moya, Eddie <emoya at tribune.com> wrote:
> Wouldn't the need  for defining the size of wp-caption be met by html
> attributes instead of inline css styles? If so that would seem to be the
> better solution.

No, because DIV's don't have width attributes. The style is the only
way to do it, since the width must be variable based on the width of
the image.

-Otto


More information about the wp-hackers mailing list