Maps4HTML / HTML-Map-Element-UseCases-Requirements

Use cases and requirements for Maps on the Web
https://maps4html.org/HTML-Map-Element-UseCases-Requirements/
Other
22 stars 12 forks source link

Example pages - same size iframes #176

Closed Malvoz closed 5 years ago

Malvoz commented 5 years ago

Make all iframe embeds have the same dimensions as specified in the width and height attrs.

So instead of smaller iframes for some embeds (to the left in the image below), all the iframes will be the same size (same as the JS implementations as well):

maps_same-size


Also removed redundant attributes and inline styles in regards to borders such as style="border: 0" and frameborder="0" as that is handled in examples.css.

+ minor style clean-up.

Fix https://github.com/Maps4HTML/HTML-Map-Element-UseCases-Requirements/pull/175.

AmeliaBR commented 5 years ago

Yes, definitely an improvement.

And a reminder to @nchan0154 and @NickFitz (and myself): when copying embed code for additional use cases in the future, make sure to standardize the dimensions & strip extra inline styles to match the existing examples, as here.