[pmwiki-users] Put a border around an image

Hans Bracker design at flutesong.net
Fri Jan 28 17:05:30 CST 2005


Friday, January 28, 2005, 10:43:45 PM, Patrick wrote:
> On Fri, Jan 28, 2005 at 11:01:52PM +0100, Thomas -Balu- Walter wrote:
>> On Fri, Jan 28, 2005 at 08:59:23AM -0600, Patrick R. Michaud wrote:
>> > Unfortunately, in doing so this makes it difficult for PmWiki to add
>> > more style= attributes to <img ...> tags because they already have
>> > a style attribute.  (I've never seen clear documentation as to whether
>> > it's legal for an attribute to be specified multiple times in a single
>> > HTML tag, so I've assumed it's not legal.)
>> 
>> It would be easier if we'd put the img {border: 0px;} inside the
>> template-css and not directly into the tag. That way people could
Could we not just have an "advanced" img markup, like for tables?
for instance like:

(:img myimage.jpg (attributes... padding=..  border=..) :)

I assume in most cases imgage style will be determined in the css, and
for special cases such advanced markup can be used.


~Hans




More information about the pmwiki-users mailing list