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:
---
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
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; }
>
>
>
> ...
>
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
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
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
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
7 matches
Mail list logo