06-30-2020, 04:52 PM | #1 |
Addict
Posts: 289
Karma: 2228060
Join Date: Dec 2013
Location: LaVernia, Texas
Device: kindle epub readers on android
|
<em><i><b> beating the dead horse
Code:
circ, circle { /*can circle text or any number of digits; see circle:after/before*/ background-color: pink; border: 0.1em solid red; border-radius: 50%; line-height: 0; padding: 0.2em; white-space: nowrap;} circ, circle:after { content: " ";} circ, circle:before { content: " ";} <p>puts circle around <circle><i>any</i></circle> text. You can put the dummy command 'circ,' in front of all 3 commands to keep them next to each other if you alphabetize the stylesheet.</p> |
06-30-2020, 04:57 PM | #2 |
Addict
Posts: 289
Karma: 2228060
Join Date: Dec 2013
Location: LaVernia, Texas
Device: kindle epub readers on android
|
really grandiose <i>
Code:
<style> i { font: 1.2em/0.5 "TeXGyreChorus"; letter-spacing: 2px;} i, i:after { content: " ";} i, i:before{content:" "} </style> <p>This is <i>italic</i> using a fancy font. If you want to force a nobreak space before and after the italicized word you can include two commands so saying. (see style.) </p> <p>'i:after', 'i:before', and 'i' will not stay together if you alphabetize the spreadsheet. You can keep them together by putting 'i', in front of the before and after commands.</p> |
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
The New Dead Horse Thread (Link Round-up!) | anamardoll | General Discussions | 8 | 12-02-2011 06:35 PM |
The Dead Horse Thread | anamardoll | General Discussions | 61 | 06-06-2011 12:25 PM |
New Dead Horse: Faulkner! | anamardoll | General Discussions | 21 | 06-05-2011 08:55 PM |
Interesting Paper (a dead horse(tm) post) | bingle | Deals and Resources (No Self-Promotion or Affiliate Links) | 1 | 12-14-2007 07:45 PM |