No doctype in iframe content document/ editor always in quirks mode
|Reported by:||axel@…||Owned by:||gogo|
|Severity:||normal||Keywords:||ie, padding, img, doctype,|
If i use the style attribute padding for an im tag, ie will ignore it without a correct doctype declaration. I found out that htmlarea has also a variable doctype and a function to set the doctype, but unfortunately it won't we used.
<img src="..." style="padding: 25px; border: 1px solid #b6b6b6; background-color: #eeeeee;"/>
Won't work without correct doctype declaration.
<!DOCTYPE html PUBLIC "-W3CDTD XHTML 1.0 TransitionalEN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
I've fixed this problem and created a pacht, if somebody is interested in it, please contact me.
Change History (6)
Changed 10 years ago by axel@…
comment:1 Changed 10 years ago by ray
- Summary changed from IE img style padding problem to No doctype in iframe content document/ editor always in quirks mode
comment:3 Changed 10 years ago by axel@…
- Resolution fixed deleted
- Status changed from closed to reopened