Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Text Overlapping… Reply To: Text Overlapping…

#156397
Merri
Participant

Logo’s line-height makes the logo go on top of the last line. You can move the logo behind it by using z-index so you don’t need to change the line-height:

#stocklogo {
    position: relative;
    z-index: -1;
}

Or just change the line-height. Or give position-relative; to “stock representation” by adding an extra element. You could consider having slightly richer HTML structure so that it would be easier to have control on the elements. Now these solutions I have given here feel a bit hacky.