what do you mean same line? like to the left or right of an image?
well you can position the table there then position the image to be next to it, or you can position both the table and the image, or you can create a table and include another cell to contain the image, or you could get away from absolute positioning and float the two elements, one to the left 1 to the right, but you would then need to make sure the next element is set to clear both of those elements.
Code:
<style type="text/css">
table#tableName {
float:left;
}
img#imgName {
float:right;
}
p#clearThem {clear:both}
</style>
<table id="tableName">
<tr><td>soemthing</td></tr>
</table>
<img src="img/path.ext" id="imgName">
<p id="clearThem">something else </p>
or
Code:
<table style="float:left">
<tr><td>soemthing</td></tr>
</table>
<img src="img/path.ext" style="float:right">
<p style="clear:both">something else </p>
Bookmarks