I use Wordpress, and I am trying to find a way to float a table (or anything) inside the content area. The table will have to come before or after the content itself, but then be positioned in a fixed place within the content.
I tried using negative margin (placing table below content) , and got it to move up, but could not get the text to wrap around (the table was on top of the text).
I tried to add a positive margin (placing table above content) but could not get the text to wrap above the table.
I looked into using indents for the table, but I failed with that.
If you are familiar with Wordpress, then I am specifically trying to get a “similar posts” list inside the content.
This is what the single.php template file looks like (part of) with the table I want within the content shown below:
<?php the_content(); ?> <TABLE class="inside"> <TR><TD> <?php similar_posts(); ?> </TD></TR> </TABLE>
I am aiming to get the list to appear on the left hand side, about half way down an average page. I also tried vertical align middle in the css. But if I can get it always a specific number of px that would be fine too.
I am sure it is possible. I have searched/trawled the net in the hope to find a page that does it already, and failed.
Please help me sitepoint, you are my only hope.