<code><pre>content</pre></code>

Gives you an alternate parent element which you can then set to scroll
or whatever, preventing the content from spilling out across your
layout generally. I think.

On 10/24/05, Andreas Boehmer [Addictive Media]
<[EMAIL PROTECTED]> wrote:
>
> Is there any way to specify a max width for content of <pre> tags? Currently
> the content of my <pre> tags does not automatically wrap when the parent div
> is at an end - it just keeps on running until it finds the end of the line.
> I know the idea of the <pre> tag is to display the content as it is, but of
> course I want it to remain in the boundaries of my parent element.
>
> Any ideas?


--
Joshua Street

http://www.joahua.com/
+61 (0) 425 808 469

Reply via email to