469,926 Members | 1,767 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,926 developers. It's quick & easy.

wrap-up text in table

12
i need to limit the display of the column date in my table?I used css property:width, but, in case the field width exceeds it scrolls over to the next line, i do not want that, i want to view the rest of the text only if i scroll over
how can that be achieved?
May 11 '07 #1
3 2023
drhowarddrfine
7,435 Expert 4TB
Use overflow:scroll
May 11 '07 #2
anju07
12
Use overflow:scroll

Hi, i used this and it works, but i have just another problem:


Problem 1: The scrollbars are visible[though disabled] even when the text to be viewed is within the column width limit, how do i make it visible only when the the text is large and cannot fit the column widht?

Problem 2: Can i decrease the height and width of the scrollbars in any way?

This is what ive used:-
<tr>
<td >
<div style="width:90px; height: 10px; text-align: center;
overflow-x:scroll;white-space: nowrap;">
just some text that is scrollable
</div>
</td>
May 12 '07 #3
drhowarddrfine
7,435 Expert 4TB
1) I'm going to say 'no' but I recall reading about this somewhere and don't recall the conclusion. I'll look for it.
2) No.

From what I read, overflow-x does not work right in IE.
May 12 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Simon Wigzell | last post: by
reply views Thread by akej via SQLMonster.com | last post: by
3 posts views Thread by Fluffy Convict | last post: by
11 posts views Thread by name | last post: by
5 posts views Thread by name | last post: by
8 posts views Thread by name | last post: by
8 posts views Thread by Mark D. Smith | last post: by
4 posts views Thread by Gérard Talbot | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.