Align map on the center of the webpage

  • DavidPinheiro
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 5 months ago #850 by DavidPinheiro
Align map on the center of the webpage was created by DavidPinheiro
Hi Dima!

How can i put the map on the center of the webpage?

I've tryed style="text-align: center;" and style="margin-left: auto; margin-right: auto;" without success.
Do i have to put the map inside a table?

Best regards,
David

Please Log in or Create an account to join the conversation.

More
12 years 5 months ago #851 by Dima
Hi David.

You can do that different ways
1 - I think you set width for map, for example 500 (px), and your map is not fill whole container of page. Try to set width = 0, it means 100% of container width
2 - you can create your own div with styles, and include plugin call in this div
3 - if I clear remember, I've added class name for map div (in component, plugin and module (with suffix)), you can try to define this class in your template

Don't forget support my developments: post review in JED , donate , help with translation ;)

Please Log in or Create an account to join the conversation.

Time to create page: 0.168 seconds
Powered by Kunena Forum