hi! i have an interesting problem that i have no idea how to fix. i have my coding set up so my icons align with my entries, but somehow some entries are pushed a pixel or two lower, while some aren't. this wouldn't be much of a problem normally, but the way i have it set up, it's... very obvious. :x
(
Read more... )
Reply
thank you so much again. :D
Reply
i still don't understand why this affected some entries and not others? do you perhaps know why?
Reply
It's the combination of the used font, font-size, line-height and the particular letters in a subject title; esp. letters with descenders (g, y, etc.) and some punctuation characters change initial values and the browser calculation will round up/down the results. So the display won't look consistent.
"text-transform: uppercase" does'nt have any effect on the calculation. You'd have to type capitals and waive any kind of punctuation characters to ensure consistent initial values.
To reset line-heigt you have to use: "line-height:normal" instead of "100%".
Reply
Reply
Leave a comment