-
Forum
-
Zh YandexMap
-
Component
-
Ширина в %
Ширина в %
Less
More
-
Posts: 26
-
Thank you received: 0
-
-
12 years 1 month ago #421
by ploten
Так и знал. Работает только в Firefox. В нём всегда всё работает, это его проклятье. Поищу другое решение.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4609
-
Thank you received: 460
-
-
-
-
-
12 years 1 month ago #422
by Dima
776 стр.
добавьте display: table;
Можно фрагментом. Не понял.
Про 100% высоты в таблице думал, но не проверил
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4609
-
Thank you received: 460
-
-
-
-
-
12 years 1 month ago #423
by Dima
Думаю display: table; и не прокатило в другом тесте
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 26
-
Thank you received: 0
-
-
12 years 1 month ago #424
by ploten
Dima wrote: Думаю display: table; и не прокатило в другом тесте
$divmap .= '<div id="YMapsID" style="margin:0;padding:0;width:100%;height:100%;display: table;"></div>';
Да. При отображении div с высотой в процентах в таблице он просто схлопывается. А display: table и display: table-cell не кроссбраузерное решение.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4609
-
Thank you received: 460
-
-
-
-
-
12 years 1 month ago #425
by Dima
Дак может и не надо. Если просто на таблице 100% высоты поставить, разве этого не хватит, див карты то внутри, там и не надо display: table
или как
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4609
-
Thank you received: 460
-
-
-
-
-
12 years 1 month ago #426
by Dima
У меня карта не выводилась и когда я указывал Map-Group (Group-Map), т.е. когда все на дивах
Please Log in or Create an account to join the conversation.
-
Forum
-
Zh YandexMap
-
Component
-
Ширина в %
Time to create page: 0.074 seconds