By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,670 Members | 1,554 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,670 IT Pros & Developers. It's quick & easy.

Table <td> width fixation for lengthy words in firefox

P: 6
hai all,

Help me with a style code for firefox.
Below is the code which is working fine in IE. But does not work well in firefox.
I have also tried with another class for firefox that too not working.

Do help me.....

Expand|Select|Wrap|Line Numbers
  1. <td width='75%' align='left' valign='top' style='width:700px;word-wrap:break-word'><p align='justify'>$Description</p></td>"

Expand|Select|Wrap|Line Numbers
  1. .td2
  2. {
  3. width:700px;
  4. white-space: pre-wrap; /* css-3 */
  5. white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
  6. white-space: -pre-wrap; /* Opera 4-6 */
  7. white-space: -o-pre-wrap; /* Opera 7 */
  8. word-wrap: break-word; /* Internet Explorer 5.5+ */
  9. white-space: pre;
  10. white-space: -hp-pre-wrap; /* HP Printers */
  11. white-space: pre-line;
  12.  
  13. }
Jul 14 '07 #1
Share this Question
Share on Google+
1 Reply


drhowarddrfine
Expert 5K+
P: 7,435
You need to tell us what is wrong.
Jul 14 '07 #2

Post your reply

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