Different Fonts in one Line

Max's Avatar

Max

03 Dec, 2015 01:00 AM

Dear colleagues,

to improve my kanji recognition want to display them in different fonts in one line. Unfortunately every time i chose a new style the kanji go to the next line, which is takes up so much space.. Does anybody know how i could change my code to get them in one line?

Here is my current code:
<div class=mystyle3>{{Kanji}}</div>
<div class=mystyle4>{{Kanji}}</div>
<div class=mystyle2>{{Kanji}}</div> <hr>

  1. 1 Posted by chrono on 03 Dec, 2015 09:28 AM

    chrono's Avatar

    You can use span tag:

    <span class=mystyle3>{{Kanji}}</span> 
    <span class=mystyle4>{{Kanji}}</span> 
    <span class=mystyle2>{{Kanji}}</span>
    
  2. 2 Posted by Max on 03 Dec, 2015 12:39 PM

    Max's Avatar

    thank you very much!
    that´s exactly what i have been trying to do! :)

  3. System closed this discussion on 22 Feb, 2016 11:50 PM.

  4. Damien Elmes re-opened this discussion on 23 Feb, 2016 10:50 PM

Comments are closed, but you can start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac