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

IF statement in MySQL trigger -

c++ - What does MSC in "// appease MSC" comments mean? -

javascript - Blogger related post gadget image Resize s72-c [ Need Expert Help ] -