[pmwiki-users] How to format image captions using css
Petko Yotov
5ko at 5ko.fr
Mon May 25 06:03:22 CDT 2015
The current "hook" is to redefine the '^img' core markup.
Is there a need to modify it in the core? If so, what class names would
be appropriate?
<div class="img">
<img />
<br/>
<span class="caption">...</span>
</div>
?
If it is a core modification, skin authors will be able to align and/or
style these standalone images more easily.
Petko
On 2015-05-24 22:00, Hans Bracker wrote:
> Is there a way to apply styling to image caption text using css?
> I do not see any css hooks in the HTML, and am at a loss how to
> select the caption text via css.
>
> markup example:
> Attach:image.jpg"tooltip text"| image caption text
>
> HTML output:
> <div><img ..../></br> image caption text </div>
>
> Is there a way to assign a class to the div?
>
> thanks,
> Hans
>
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
More information about the pmwiki-users
mailing list