Text Overflow problem in Firefox
Posted: 06 November 2008 04:40 PM   [ Ignore ]
Newbie
Rank
Total Posts:  8
Joined  2008-10-03

Hi,

In a div tag ,I am having some anchor tag text elements.when I increase the text in those anchor tags,the text is getting displayed below the div tag.I want to display the text within the div tag and overflow should be hidden.I am able to do this in IE but not in mozilla firefox.please help me.

Thanks.

Profile
 
 
Posted: 10 November 2008 02:38 PM   [ Ignore ]   [ # 1 ]
Member
Avatar
RankRankRank
Total Posts:  52
Joined  2007-11-08

If it isn’t working on FF, that means there’s a problem. IE doesn’t prove a thing. You might have given a fixed height to the container div, that’s why it grows on IE but not on FF..If you have floated the contents, clear the float while leaving the container and remove the fixed height..Everything will work just fine..

Profile
 
 
Posted: 10 November 2008 07:13 PM   [ Ignore ]   [ # 2 ]
Newbie
Rank
Total Posts:  8
Joined  2008-10-03

Hi,
Thanks for the reply.I have not fixed any width….here is the class for the anchor tags in the div tag.I have three anchor tags in the div tag.whenever I am increasing the text,it is working fine in IE but in mozilla it is getting down.

.a
{
      text-overflow:ellipsis;
  overflow:hidden;
  white-space:nowrap;
}

thanks.

Profile
 
 
Posted: 14 November 2008 12:08 PM   [ Ignore ]   [ # 3 ]
Newbie
Rank
Total Posts:  8
Joined  2008-11-14

Can you post a link to the page where you are experiencing the issue please?

Profile