[GeneralDiscussion] tags for Python`s versions
[email protected] (geon)
| Newsgroups | gmane.comp.web.zope.zwiki |
|---|---|
| Message-ID | <20080918115534-0700__49142.5312975936$1221764292$gmane$org@zwiki.org> |
So finally there are two results, it might help someone:
1/ img on a background:
.. class:: py25
belonging css:
.py25 {
background-image: url("py25.png");
background-position: right top;
background-repeat: no-repeat;}
disadvantage: sometimes there is a text over it
2/ admonition - div moved to the right
.. admonition:: Python
3.0
belonging css:
div.admonition-python{
background-color:#ffe8c4;
margin-left: 1em;
border: medium outset;
text-align:center;
padding: 1em;
width:80px;
float: right;
clear: right;}
disadvantage: slightly more difficult, less intuitive. But the text perfectly floats around it.
--
forwarded from http://zwiki.org/GeneralDiscussion#[email protected]