Home › Forums › CSS › [Solved] A weird line-height › Reply To: [Solved] A weird line-height
October 26, 2014 at 1:25 pm
#187080
Member
OK…the font
tag has been deprecated and should no longer be used…also don’t use br
for spacing…that’s what margins and padding are for.
Also, under HTML5 , the u
and b
tags aren’t used for styling…the have a different purpose. Use spans with CSS for underlining or bolding (or strong
for the latter if you must).
Next….you should not be putting block level elements like blockquotes and lists inside p
tags.
Try running your code through a validator…then fix the errors.
Once you’ve done that the problem may go away. At the moment, it’s in too much of a mess to really help much further.