html - Line position of a senetence which has two diffrent font sizes -


i'm using 2 different font sizes (13px , 30px) in single sentence. question how position text in normal position if in font size 13? @ moment it's below usual position.

fiddle

<div class="aa"> click <span>-</span> sign</div>  .aa {font-size:13px;} span {font-size:30px; position: relative; top: 3px;} 

edit: enter image description here

try fiddle.

css code:

.aa {font-size:13px;} span {font-size:30px; position: relative; top: 3px;line-height: 10px;} 

Comments

Popular posts from this blog

android - How to save instance state of selected radiobutton on menu -

python 3 IndexError: list index out of range -

IF statement in MySQL trigger -