Linked Questions

2 votes
2 answers
5k views

Possible Duplicate: text-overflow:ellipsis in Firefox 4? I have the same issue mentioned in Truncating long strings with CSS: feasible yet?. It's been nearly two years since that post, and ...
jonmorgan's user avatar
  • 2,620
301 votes
19 answers
297k views

I have got a span with dynamic data in my page, with ellipsis style. .my-class { text-overflow: ellipsis; overflow: hidden; white-space: nowrap; width: 71px; } <span id="myId" class="my-...
Spiderman's user avatar
  • 10.1k
210 votes
10 answers
405k views

I have div with the following css style: width:335px; float:left; overflow:hidden; padding-left:5px; When I insert, into that div, a long line of text, it's breaking to a new line and displays all ...
homerun's user avatar
  • 20.9k
65 votes
14 answers
57k views

I'm sure all of us have seen ellipsis' on Facebook statuses (or elsewhere), and clicked "Show more" and there are only another 2 characters or so. I'd guess this is because of lazy programming, ...
Amy B's user avatar
  • 18k
25 votes
7 answers
91k views

I need to detect the browser and apply the matched CSS file. I have created 3 css files: __ie.css, ff.css, opera.css. Now I need to detect the browser in order to include the good one. I know this ...
Sourav's user avatar
  • 17.6k
19 votes
13 answers
18k views

I have some dynamic text contained in a div that is set to whatever a user enters in a textbox field. If the text doesn't fit in the div, right now it just gets cut off at the edge and all the text ...
Brienne Schroth's user avatar
15 votes
3 answers
39k views

I have a string of 30 characters I want to only display the first 10 followed by ... so for example thisisastringthatis30characterslong would become thisisastr... Is this possible using CSS? ...
Franco's user avatar
  • 2,934
6 votes
2 answers
9k views

I used this p.test { white-space: nowrap; overflow: hidden; text-overflow: ellipsis;} but it's not working on Firefox. And I didn't check on other browsers. But I need cross browser ...
Jitendra Vyas's user avatar
11 votes
3 answers
5k views

What is the best way to make a table (not necessarily using the table tag) where each row has a fixed height and fills the entire available horizontal space and one of the columns has a dynamic width ...
Gurgeh's user avatar
  • 2,168
5 votes
2 answers
22k views

I'm attempting to get ellipsis working on my site. This is the following HTML / CSS code and it doesn't appear to be working. CSS: .oneline { text-overflow:ellipsis; white-space: nowrap; width: ...
Storm3y's user avatar
  • 121
8 votes
5 answers
2k views

I was thinking of updating to Firefox 4 (currently running Firefox 3.6.15 -- hold on not a software question specifically!) and had some concerns when it comes to web development. My only concern is ...
Jakub's user avatar
  • 20.5k
11 votes
2 answers
8k views

I'm using the following code to to prevent text from overflowing to a new line: .info-box{ text-overflow: ellipsis; white-space: nowrap; overflow: hidden; height: 3em; width: 300px; font-...
stephenmurdoch's user avatar
4 votes
1 answer
6k views

I have used a jquery plugin for getting ellipsis in mozilla but I want to know other methods to get the ellipsis because the plugin I have used showing script error in some cases. /******edited********...
Poornima's user avatar
  • 203
2 votes
1 answer
6k views

I am trying to get ellipsis in Mozilla.I have found out some jquery plug in which helps to form ellipsis in Mozilla but when huge amount of data comes it does not handle well forming script error in ...
deepu's user avatar
  • 2,029
1 vote
2 answers
3k views

Is there any way to simulate text-overflow: ellipsis using CSS2? I found this solution that emulates text-overflow:ellipsis in firefox with CSS but it's not working. I'm not interested in a ...
Diogo Cardoso's user avatar

15 30 50 per page