- This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
How do I get rid of the line breaks after the h1/h2 elements?
I’m not sure what you are trying to do in that there are no actual break tags in there.
However, if you mean that you want the paragraph to immediately follow the h2 then just set it to inline-block as well.
Frankly, I think this is an odd way to go as I think there are better methods of achieving the same effect.
if you think there are better methods, then please tell me.
Using this as a tooltip of sorts for a content slider, but the description would fall off the slider.
Edit: inline-block doesn’t fix it, because I want the description to still be under the title.
OK this isn’t exactly what I though it was.
I thought you wanted to lose the ‘line break’ but you state that “I want the description to still be under the title.”.
Do you have a link to the current version of the slider because I’m having a little trouble working out what exactly it is you are trying to do?
Or perhaps another site where you have seen this working?
I apologize, I fixed it.
I realized I was using line-height this whole time… facepalm
facepalm
Been there…done that. :)