margin - Strange vertical space on text -


Adding some strange padding (or at least vertical position)) with the text is causing these problems because I I want to read to be deployed in a certain way but it can not overlap other things. Here's a picture:

As you You can see that when the text is selected, the text overlaps some navigation bar above it. I have tried to adjust the line height and padding, margin, anything that I can imagine here is relevant CSS, someone has a suggestion that how can I achieve the height of the line above the height of the actual text.

  * {margin: 0; Padding: 0; } H1 # logo {font: 350px / .95 'babys new'; Color: #ddd; Text align: center; Margin: 1 px 0; }  Edit : A live example of this problem is:   

/ 95 has never been seen before, but after some tests, I think this works:
line-height = 0.95 * font-size = 332.5
So I think your problem is longer than the font line
adding overflow: hidden; should be sufficient on H1


Comments