Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Problem with pre {display: inline}

0 views
Skip to first unread message

Vadim Guchenko

unread,
Nov 20, 2006, 10:11:02 AM11/20/06
to
Hello.

I'm using the following code:

<html>
<head>
<style type="text/css">
pre {display: inline;}
</style>
</head>
<body>
<div><pre>hello</pre> world</div>
</body>
</html>

IE6.0 deletes all spaces after <pre> block and outputs "helloworld". Opera
and Firefox retains at least one space after <pre> block. How to resolve
this problem in IE? <pre> in inline context is needed for outputing all
spaces inside <pre> as is.

--
Best regards, Vadim.

0 new messages