-
Zh GoogleMap
-
Plugin
-
Align map on the center of the webpage
Align map on the center of the webpage
-
DavidPinheiro
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 6
-
Thank you received: 0
-
-
11 years 10 months ago #850
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.
Less
More
-
Posts: 4609
-
Thank you received: 460
-
-
-
-
-
11 years 10 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
Please Log in or Create an account to join the conversation.
-
Zh GoogleMap
-
Plugin
-
Align map on the center of the webpage
Time to create page: 0.112 seconds