Hi guys!
I want add a arrow image absmiddle on tittle column using CSS.
I used for the arrow (float left and vertical-align: middle), but the Text of the row are not absolutely in the middle with the image.
look
How can I fix this?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
<!--
.tittle {
font-family: Tahoma;
font-size: 11px;
color: #FFFFFF;
background-color: #0099CC;
text-align: center;
height: 25px;
vertical-align: middle;
}
.arrow-style {
float: left;
vertical-align: middle;
}
-->
</style>
</head>
<body>
<table width="250">
<tr>
<td class="tittle"><img src="arrow.gif" width="14" height="10" class="arrow-style" />Tittle of my Column</td>
</tr>
<tr>
<td>demo text here</td>
</tr>
<tr>
<td>demo text here</td>
</tr>
</table>
</body>
</html>
thanks for the help