Want to Stop Text Wrap Around in Table Cells

2007-07-10 Thread Caroline Jen
I display a table inside a because I want to show scrollbars. However, I have wrapped around text inside table cells although I provide enough width to each column and used white-space:nowrap; overflow-x:scroll. How do I make all text in each table cell displayed in one single line? code: ---

Re: Want to Stop Text Wrap Around in Table Cells

2007-07-10 Thread Andrew Robinson
TD ignores the overflow style attribute in my experience. I would suggest: CSS: DIV.nowrap { white-space: nowrap; overflow: auto; } ... On 7/10/07, Caroline Jen <[EMAIL PROTECTED]> wrote: I display a table inside a because I want to show scrollbars. However, I have wrapped around tex

Re: Want to Stop Text Wrap Around in Table Cells

2007-07-11 Thread Caroline Jen
My is outside the tag. I simply cannot stop text wrapping around in table cells. --- Andrew Robinson <[EMAIL PROTECTED]> wrote: > TD ignores the overflow style attribute in my > experience. I would suggest: > > CSS: > DIV.nowrap { white-space: nowrap; overflow: auto; } > > > > ... >

Re: Want to Stop Text Wrap Around in Table Cells

2007-07-11 Thread Andrew Robinson
I has to be inside the columns, not outside the table, I did that on purpose On 7/11/07, Caroline Jen <[EMAIL PROTECTED]> wrote: My is outside the tag. I simply cannot stop text wrapping around in table cells. --- Andrew Robinson <[EMAIL PROTECTED]> wrote: > TD ignores the overflow style att

Re: Want to Stop Text Wrap Around in Table Cells

2007-07-11 Thread Caroline Jen
I followed your suggestion to put inside the column. But, the text still wraps around. Is it because I use IE6? --- Andrew Robinson <[EMAIL PROTECTED]> wrote: > I has to be inside the columns, not outside the > table, I did that on purpose > > On 7/11/07, Caroline Jen <[EMAIL PROTECTED]> > wro

Re: Want to Stop Text Wrap Around in Table Cells

2007-07-11 Thread Andrew Robinson
Do you have children elements of the DIV? (I've seen problems with that) Just to check, does "white-space: pre;" work? On 7/11/07, Caroline Jen <[EMAIL PROTECTED]> wrote: I followed your suggestion to put inside the column. But, the text still wraps around. Is it because I use IE6? --- Andre

Re: Want to Stop Text Wrap Around in Table Cells

2007-07-12 Thread Caroline Jen
1. "white-space: pre;" works but the height of the table inside its surrounding becomes half of it. 2. Alternatively, text wrapping around problem is gone if I put on the very top of the JSP. But, the JavaScript in that page stops working. I wondering if IE6 does those things to us. --- Andre