[OSM-dev] http://www.openstreetmap.org/export/embed.html -> XHTML compliance

Tom Hughes tom at compton.nu
Mon Mar 23 17:02:59 GMT 2009


Alexander Delius wrote:
> Tom Hughes schrieb:
>> I've committed those parts of your patch which were actually concerned
>> with XHTML compliancy and it now passes the W3C validator.
>>
> 
> Well, you left out the style-part, so now due to XHTML-Standard
> compliance the height and width attributes are related to the parent
> element, which is not 100% in height and width.

Surely by default it should fill the parent element? Then as the 
embedded page consists entirely of a div which has been sized to 100% of 
the embedded page the div should fill the parent element.

Tom

-- 
Tom Hughes (tom at compton.nu)
http://www.compton.nu/




More information about the dev mailing list