It makes sense since the width attribute does not accept units. So if you want to make sure the image is sown with it's full width you should omit the width attribute and let the browser figure out the width itself.
Otherwise you need to either add an id or a class to the image so you can set the width using CSS.
formatting error when including % in width attribute of image
Hi,
I discovered that you get a formatting error when you try to add a percent value in the with attribute of image in the TinyMCE editor:
<img src="../images/homepage11.gif" alt="" width="100%" height="1" />
Anyone any idea how this can be solved?
Thanks for the help,
Anthony Candaele
Belgium
It makes sense since the width attribute does not accept units. So if you want to make sure the image is sown with it's full width you should omit the width attribute and let the browser figure out the width itself.
Otherwise you need to either add an id or a class to the image so you can set the width using CSS.
/Jan
is working on a reply...