View Single Post
Old 11-29-2017, 10:50 AM   #7
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,801
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by doubleshuffle View Post
But one could still use your far more elegant method by setting different classes of underscore span:

Code:
.underscore3 {
    display: inline-block;
    width: 3em; 
    border-bottom: 1px solid black;
}
.underscore4 {
    display: inline-block;
    width: 4em; 
    border-bottom: 1px solid black;
}
etc.
Ok, you're right But in that case, would be a bit more efficient to use the following code:

Code:
.underscore {
    display: inline-block;
    border-bottom: 1px solid black;
}

.width3 {
    width: 3em; 
}

.width4 {
    width: 4em; 
}

etc.
And to apply them in the .xhtml file by using for example:

Code:
<p>This is an example <span  class="underscore width4"></span> very easy</p>
Regards
Rubén
RbnJrg is offline   Reply With Quote