css - Doxygen image borders -


i have project configured documentation generation doxygen. documentation involves lot of figures clashes background. possible add border figures in document? css objects should change? figures inserted using command:

 ![ ](01_demo.png)  

resulting html:

 <div class="image">  <img src="01_demo.png" alt="01_demo.png"/>  <div class="demo caption">demo caption text</div></div>       

there class in css file:

 .image  {     text-align: center;  } 

i can add border it, in case caption have it. can somehow border around image itself?

solution: i've added custom /figure tag doxygen configuration file:

aliases += figure{2}="<div class="figure">![\2](\1)</div>" 

changes css file:

.figure img { text-align: center; border: 1px solid #879ecb; }  

usage:

\figure{demo.png, demo caption}   

yes possible following code

.image img {     border: 1px solid #000;     } 

if want space between border , image, add padding.

here fiddle try: https://jsfiddle.net/6ou62urk/


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -