여기에서 큰 문제가 있습니다. 나는 이미 수많은 솔루션을 시도했지만 아무도 유용하지 못했습니다. 나는 커스텀 툴팁을 만들고 있는데, 그 안에있는 텍스트를 세로로 가운데에 넣으려고 노력하고 있지만, 나는 할 수 없었다. 이 여기텍스트가 세로로 가운데에있는 문제 u_u
.tooltip {
display:none;
background:transparent url(slides/tooltip_img.png);
font-family:Helvetica;
font-size:16px;
height:157px;
width:149px;
color:#eee;
text-align:center;
line-height:20px;
}
그리고 내가 그것을 수직 중심을 만들려고하는 방법이다 :
<div id="tooltip" style="height:62px;margin-left:46px;margin-top:102px;vertical-align:middle">
<img src="supahsource.png" title="Tooltip info"/>
어쨌든, 나는, 누군가가 나를 도울 수 노력하고있어 결과를 얻을하지 않습니다? 고마워.
다음에 검색 기능을 사용할 수 있습니다. http://stackoverflow.com/questions/11048541/vertical-text-center-in-div http://stackoverflow.com/questions/2943234/how-to-center-text-vertically-in-html- using-css-only –