This topic is locked
[SOLVED]

 How To Keep The Central Block At The Centre Of The Screen

1/24/2013 10:28:52 PM
PHPRunner General questions
D
dannche author

Dear All,
I have played with the layout file trying to get the central block to be in the center of my screen and it does not seems to work. According to the help guide, the layout file for the list page for London layout is list5.ly. This is the file I try to change. Can someone help me on the changes below?
beginblock center

begincontainer horizontal style=empty master

brick masterinfo

endcontainer

begincontainer horizontal style=empty width=100% controlpanel

brick left tableinfo

brick left loggedas

brick toplinks_print

brick toplinks_advsearch

brick toplinks_import

brick toplinks_export

brick toplinks_export_links

brick right languages

brick right quickjump

endcontainer
begincontainer horizontal style=1 width=100% search

brick left search

brick left search_buttons

brick right details_found

brick right page_of

brick right recsperpage

endcontainer

endblock
beginblock width=260 left

begincontainer vertical style=menu rmargin=5 width=100% left

brick searchpanel

endcontainer

endblock
beginblock center

begincontainer horizontal style=empty width=100% recordcontrols

brick left recordcontrols_new

brick left recordcontrol

endcontainer

begincontainer horizontal style=empty width=100% message

brick center filename=message_bare.htm message

endcontainer

begincontainer grid delimx=10 delimy=10 style=grid grid

brick grid

endcontainer

begincontainer horizontal style=empty width=100% pagination

brick center pagination

endcontainer

endblock
Here is my current page which still on the left of my page.


Regards,

Danny

W
wildwally 1/25/2013

from the visual editor select the outer container and then select the center justify icon in the tool box. It will do all the work for you.

D
dannche author 1/25/2013



from the visual editor select the outer container and then select the center justify icon in the tool box. It will do all the work for you.


Hi Wally, I have been trying this method all along and it didn't work because I was selecting the wrong container to centralize. This time it works. Very tricky when selecting the container.
Thanks a million.
Regards,

Danny.