Here is my HTML:
<table>
<tr>
<td><img src="blah.png" width="80"> </td>
<td> <p>This is ment to be a comment section part</td>
</tr>
</table>
This is meant to be a comment engine kind of a thing.
Basically, I want a table with a profile image first on the left. Then I want the username at the very top of the TD, then the comment below the name without the name pushing it forward.
Thanks!
I’m not quite clear what you’re asking. Does the following HTML not achieve what you’re trying to do?
Edit:
Facebook’s comments look like this:
I can see two differences between that and the code I posted above:
Issue 1 can be taken care of by assigning
vertical-align: topto all the cells in the table. Issue 2 could be handled withdisplay: run-in, but that’s not supported in Firefox or IE 7 and 6, so you’re better off just having the username and comment be inline elements:See http://jsfiddle.net/hK85e/2/