Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bottom few pixels of text cut off

Tags:

html

css

I really can't figure out what's going on in this case. On the multiline pieces of text, the bottom few pixels are cut off.

like image 215
Reece McMillin Avatar asked Oct 13 '11 20:10

Reece McMillin


3 Answers

Setting

line-height: normal;

Worked for me.

like image 107
C.M. Avatar answered Oct 20 '22 17:10

C.M.


The quickest fix looks to be this:

Change the font-size here from 14px to 13px

#slidertext h3 {
font-size: 13px;
// other styles
}

Works for me in Chrome.

like image 45
Jason Gennaro Avatar answered Oct 20 '22 17:10

Jason Gennaro


Changing font-size and font-family is just a workaround. I had same issue. It works well in Firefox however not in Chrome. Check padding or margin of the input box. It was padding in my case. I changed padding:6px to padding:0px 6px; in my case.

like image 3
Tushar Shukla Avatar answered Oct 20 '22 15:10

Tushar Shukla