After following instructions from another user, I successfully centered text vertically. However, I encountered difficulties when trying to center the entire content vertically. My attempt to enclose the text in its own div did not yield the desired results. Can someone advise me on how to center a paragraph next to the arrow?
Dealing with vertical aligning CSS is quite perplexing...
CSS
#arrow {
width:33px;
height:25px;
background-image:url('http://i.imgur.com/26tbf.png');
margin-left:55px;
background-position:0 50%;
float:left;
height:100%;
background-repeat:no-repeat;
}
#bulletwrap {
border:1px solid black;
width:325px;
height:75px;
}
#text {
background-position:0 50%;
line-height:75px;
}
HTML
<div id="bulletwrap"><div id="arrow"></div><div id="text">This is some longer text that needs to be centered next to the arrow grouped together</div></div>