星期日, 27 12月 2020 13:53

Captions

Create styled caption blocks on images
About Captions
Captions Interface
Creating a Caption
 


About Captions


The Caption dialog creates caption boxes on images with options for text color, padding and alignment and caption container margin, padding, background color and border styling.
In its simplest form, this consists of a parent <span> wrapped around the source image and an additional text <span>, eg:
<span class="wf_caption" style="max-width: 300px; display: block; width: 100%; border: 1px solid #000000; background-color: #eeeeee;"> <img alt="flower" src="https://cdn.joomlacontenteditor.net/images/nature.jpg" /> <span style="text-align: center; display: block;">Nature</span></span>
Example:
Nature

Captions Interface


The Captions dialog contains two tabs - Text and Container.
The Preview area, which shows a simple preview of the styled caption, is displayed in both tabs.
Text tab

The Text tab contains options for setting and formattin the caption text.
Text
Set the caption text.
When the dialog is first opened to create a new caption, this field will be filled with the image's alt or title attribute value.
Position
The position of the caption text. The text can be placed at the top or the bottom of the caption. The default position is Bottom.
Alignment
The alignment of the caption text - Left, Right or Centre.
Colour
The colour of the caption text. Type in a hex value, eg: #cc0000 or select a colour using the colour picker....

继续阅读完整内容

请查看下方广告以解锁文章剩余内容

广告加载中...
查看 16746

AI 智能舌象仪

Tongue imager rafavi

导航信号采集及测试设备

Portable singal acquisition and replay
 
Please support our site by viewing this advertisement.

Please support our site by viewing this advertisement

Free Content