By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,487 Members | 1,074 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,487 IT Pros & Developers. It's quick & easy.

how do you place a table at a specific plot point?

P: 36
Yea Im working with a badly written php script that doesnt utilize a css. Its over 2000 lines so rewriting it would be a pain in the ass. Theres all sorts of <table> and <tr> and <td> tags all over the place. Im looking to place a table at a specific part of the page similar to this code that I found for placing an image on a specific part of the page. I have included the similar code. Is this possible?

[HTML]<IMG STYLE="position:absolute; TOP:35px; LEFT:170px; WIDTH:50px; HEIGHT:50px" SRC="circle.gif"> [/HTML]
Mar 6 '08 #1
Share this Question
Share on Google+
2 Replies


drhowarddrfine
Expert 5K+
P: 7,435
Exactly the same way but just change IMG to TABLE.
Mar 6 '08 #2

P: 36
thats crack. it worked. Thanks drhoward...smh at not coming up with that myself.

heres the code incase sumone is googling for this problem

[PHP]
echo("<table STYLE='position:absolute; TOP:95px; LEFT:100px; WIDTH:40px; HEIGHT:50px' >");
echo("<tr><td>test table</td></td>");
echo("</table>");
[/PHP]
Mar 6 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.