Empty lines inside the tag are displayed ok in the latest Chrome and Opera browsers, but in IE 10 they are removed. Is it a known issue, or is there a CSS or another setting to display the tag contents "as is" properly in all browsers including IE?
This is a strange bug in IE 10. Observations on it:
<!doctype html>
and not without any doctype).div
element when white-space: pre
is set on it.Speculation: When IE 10 tries to deal with XHTML, it gets confused with white space processing somehow.
Workaround: Replace the lines with spaces only by completely empty lines.