My main script is index2.php written in pure php a pagination page as follows,
problem :
include("menu.html"); which is a menu on the left hand side of my page, pushes the $row->body data down the page.
All other positining and .css works for this database data,
How can i put $row->body data by the right hand side of this menu and in the middle of the page.
I have tried using tags in php using print and escaping " with \ still no luck.
You don't say what's in menu.html. Is it an entire web page, with a
section etc? If so, you shouldn't be including it in another page. You just need the HTML for the menu itself.
2007-10-30 05:14:12
·
answer #1
·
answered by Daniel R6
·
0⤊0⤋
Try using float: left on your menu page
Basically your layout should be like this:
Content here
Also if your content pushes down, try using valign="top" on your content div.
You also might want to check this very good tutorial on how to make excellent 2 and 3 column layout: http://www.maxdesign.com.au/presentation/page_layouts/