<tr>
<td><span style="float:right;">
<img src="image.jpg" height="10px" width="30px" style="vertical-align:baseline;" />
</span>
Some text</td>
</tr>
dpaanlka,
can you post a link to this online somewhere. Much easier to test/search/find a solution when the actually markup can be viewed in a page.
M
It's actually part of a site that only registered members can see.
<tr>
<td class="colheader2">
<a href="http://forums.info-mac.org/help_system/attachments.html" class="lbOn"><img style="float: right;" src="http://forums.info-mac.org/help_system/help_button.gif"></a><b>Upload File:</b>
</td>
</tr>
td.colheader2{
font-weight: bold;
padding-top: 16px;
padding-bottom: 4px;
}
Here is the code for the "Upload" row - the Poll row is pretty much the same.
Code:<tr> <td class="colheader2"> <a href="http://forums.info-mac.org/help_system/attachments.html" class="lbOn"><img style="float: right;" src="http://forums.info-mac.org/help_system/help_button.gif"></a><b>Upload File:</b> </td> </tr>
And the associated CSS for "colheader2" is this:
Code:td.colheader2{ font-weight: bold; padding-top: 16px; padding-bottom: 4px; }
That is how it is currently without any reference to vertical-align, as none that I've tried so far seem to have worked.
It would appear that you are only including a portion of the CSS associated with this page.. as when i copy/paste your included code into a document i get this.. { see attached image } which doesnt quiet look like the problem you were showing.
The CSS document is quite long. The only thing I included were what I thought were pertinent to this problem.
The table is set to a width of 700 pixels, and some fonts and stuff are different.
<style>
table,
tr{
border:1px dotted black;}
td.colheader2{
font-weight: bold;
padding-top: 16px;
background-color:lightgreen;
}
div.column-ab-a{
background-color:red;
float:right;
padding-top:20px;/*adjust this number to match you baseline as needed*/
}
div.column-ab-b{
background-color:lightyellow;
float:left;
padding-top:20px;/*adjust this number to match you baseline as needed*/
}
</style>
</head>
<body><table width="700">
<tr>
<td class="colheader2">
<div class="column-ab-a">
<a href="http://forums.info-mac.org/help_system/attachments.html" class="lbOn"><img src="http://forums.info-mac.org/help_system/help_button.gif"></a>
</div>
<div class="column-ab-b"><b>Upload File:</b></div>
</td>
</tr>
</table>
</body>
</html>
Here is the code for the "Upload" row - the Poll row is pretty much the same.
That is how it is currently without any reference to vertical-align, as none that I've tried so far seem to have worked.Code:<tr> <td class="colheader2"> <a href="http://forums.info-mac.org/help_system/attachments.html" class="lbOn"><img style="float: right;" src="http://forums.info-mac.org/help_system/help_button.gif"></a><b>Upload File:</b> </td> </tr>
<tr>
<td class="colheader2"><a ref="http://forums.info-mac.org/help_system/attachments.html" class="lbOn"><img style="float: right;" src="http://forums.info-mac.org/help_system/help_button.gif"></a><b>Upload File:</b></td>
</tr>