As shown in the picture:
How to align it ie? ?
Post your test code
Post your test code
< ;span>Hahaha 2013-10-21
Um... If you don’t set the CSS, then why does the code you screenshot have top and bottom margins?
Um...you haven’t set the CSS, so why does the code you screenshot have top and bottom margins?
That’s not the top and bottom margins, that’s the border of the screenshot. The css does not control the spacing. It only controls the font color. I removed the font and it’s still not aligned up and down. I tested it without any css and it’s still not aligned. It’s probably a problem with IE
Alas...it's really embarrassing. I can't see the problem in my own browser.
Are you testing it alone, or are you testing it mixed with other codes? Don’t worry about the rest.
You can try adding a css to control it. Just add one: line- height:1em;
However, if you want to increase the height of the span tag in the future, just change this value.
Let’s try it.
Alas...it's really embarrassing. I can't see the problem in my own browser.
Are you testing it alone, or are you testing it mixed with other codes? Don’t worry about the rest.
You can try adding a css to control it. Just add one: line- height:1em;
However, if you want to increase the height of the span tag in the future, just change this value.
Let’s try it.
Oh, that’s it. Okay, thank you.
This is after I added the function and asked me to change the page. Don’t ask the artist to find me. I don’t see any css control. I just put it in a span and display it. It’s not aligned, it’s frustrating. Two spans in a div are aligned. Who cares?
You know, those who can do more work,