|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
....nowrap Using Css....
Hello
I have three column in my table each column have long text i want to wrap text in each column using css plz let me know how is possible that Thanks & Regards<br> Faisal |
|
#2
|
|||
|
|||
|
be sure to use something like this:
word-wrap:break-word;width:100%; *blue: allows the item to be broken onto the next line *red: gives the item a limiter when wrapping, if you have it inside a table cell, you should be able to set to 100% |
|
#3
|
|||
|
|||
|
Hello
HRU,Thanks yr mail, i checked yr code below is that example but that is not working wright plz chect out that and help me how i can done that. Regards Faisal <html> <head> <style> .break{ word-wrap:break-word; } </style> </head> <body> <table width="100%" border="0" cellspacing="1" cellpadding="0"> <tr> <td class="break">kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk</td> <td class="break">gggggggggggggggggggggggggggggggggggggggggggggggggggggg</td> <td class="break">rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr</td> </tr> </table> </body> </html> Last edited by sftaa : July 21st, 2003 at 12:54 AM. |
|
#4
|
|||
|
|||
|
you forgot the width. further more the examlpe you use is one long word, so the word will not be broken or word wrapped. try addding spaces into that long ugly line of text...then see how it works for you.
|
|
#5
|
|||
|
|||
|
Hi
HRU, Thanks yr prompt response i have fixed my problem with yor help Thanks & Regards Faisal |
|
#6
|
|||
|
|||
|
well, don't thank me entirely, thank relster too.
![]() But your welcome anyway, and I'm glad I could help. ![]() see you around. ^_^ |
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > ....nowrap Using Css.... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|