%cframe% Attach:pmwiki-32.gif"Caption me" | ''Caption me!''
%cframe width=50px% Attach:pmwiki-32.gif"Caption me" | ''Caption me!''
%cframe border="10px #7fff00 groove"% Attach:pmwiki-32.gif"Caption me" | ''Caption me!''
Radu: I find the alternation of : and = a bit confusing, especially since I'm used with the css : and the HTML =. Could we stick with one or the other in pmwiki markup? I personally prefer ':'
Some people are used to HTML, where everything is =, while others are used to CSS, where everything is :. PmWiki generally tries to accommodate either preference so that we don't have to worry about which is correct. (However, at the moment PmWiki only allows '=' in places that are definitely HTML attributes, such as table attributes and divs.)
It's probably not something that I want to dictate to other authors -- everyone has something they're used to using and I tend to err on the side of being flexible.
Width problem observed
See the second example, where the width is set to 50px. While the frame has obeyed the request, the actual image size has remained unchanged, and it now overflows the frame.