Wrapping <pre> inside table cell

I have some data in a set of pre tags who's inner text I want to wrap. I am achieving this with the following CSS:\[code\]word-wrap: break-word;\[/code\]However, if I put the pre tags into a table cell, this no longer works; the data all stays on the one line.I am aware that there is the white-space: pre-wrap option, however I am using this CSS in a WebBrowser control in C#, and it always render as IE7 would, and the pre-wrap property never appears to work.Has anyone got any idea how I can get my CSS for the pre tags to work inside a table cell? Or whether it is even possible?I am open to suggestions of alternatives to using a table, however I need to replicate a table in the sense of having rows with multiple cells, each of which will grow in height to match the largest one.
 
Back
Top