css - Aligning HTML special charaters bottom relative to parent -
So I'm building a website for a client in WordPress and in the class Full stops are full stops on some titles but the font used by them is round . I have solved this problem with a short code '[stop]' and will return the following code: This is an HTML square icon I is wrapped in a span for style. But I think align below with text. See an example here:
& lt; Span class = "square-stop" & gt; & Amp; # 9632; & Lt; / Span & gt;
& lt; H1 & gt; This is a title of some type & lt; Span class = "square-stop" & gt; & Amp; # 9632; & Lt; / Span & gt; & Lt; / H1> Use the following CSS to align class :
< Pre>
h1 {status: relative; } .square-stop {font-size: 0.7em; Status: Completed; Bottom: 0; }
Comments
Post a Comment