![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
G'day everyone I'm trying to find out if there is a way (perhaps using CSS) to let this code: table><tr><td>One Two Three</td></tr></table display the same as if the code would have been: table><tr><td>One<br Two<br Three</td></tr></table |
#3
| |||
| |||
|
|
G'day everyone I'm trying to find out if there is a way (perhaps using CSS) to let this code: table><tr><td>One Two Three</td></tr></table display the same as if the code would have been: table><tr><td>One<br Two<br Three</td></tr></table Of course, once I figure out how to do this, I still have to see if my wysiwig HTML viewer can display it :-) because my wysiwig HTML viewer is MS Word and/or OOo Writer. The reason is that I'm trying to use HTML as an intermediary format to convert CSV to a word processing format. But let me worry about that... it would be great if any of you could just help me with the problem described above. |
#4
| |||
| |||
|
|
I'm trying to find out if there is a way (perhaps using CSS) to let this code: table><tr><td>One Two Three</td></tr></table display the same as if the code would have been: table><tr><td>One<br Two<br Three</td></tr></table Of course, once I figure out how to do this, I still have to see if my wysiwig HTML viewer can display it :-) because my wysiwig HTML viewer is MS Word and/or OOo Writer. The reason is that I'm trying to use HTML as an intermediary format to convert CSV to a word processing format. But let me worry about that... it would be great if any of you could just help me with the problem described above. |
#5
| |||
| |||
|
|
On 2008-09-03, Samuel Murray <le... (AT) absamail (DOT) co.za> wrote: I'm trying to find out if there is a way (perhaps using CSS) to let this code: td { white-space: pre-wrap } or just white-space: pre (not all browsers support all the more exotic flavours of white-space). |
#6
| |||
| |||
|
|
On 02 Sep 2008, Samuel Murray <leuce (AT) absamail (DOT) co.za> wrote: I'm trying to find out if there is a way (perhaps using CSS) to let this code: table><tr><td>One Two Three</td></tr></table display the same as if the code would have been: table><tr><td>One<br Two<br Three</td></tr></table Look into the html <pre> attribute. |
#7
| |||
| |||
|
|
G'day everyone I'm trying to find out if there is a way (perhaps using CSS) to let this code: table><tr><td>One Two Three</td></tr></table display the same as if the code would have been: table><tr><td>One<br Two<br Three</td></tr></table Of course, once I figure out how to do this, I still have to see if my wysiwig HTML viewer can display it :-) because my wysiwig HTML viewer is MS Word and/or OOo Writer. The reason is that I'm trying to use HTML as an intermediary format to convert CSV to a word processing format. But let me worry about that... it would be great if any of you could just help me with the problem described above. |
#8
| |||
| |||
|
|
"pre-line" seems to me closer to the OP's original request than Ben's suggestion of "pre-wrap", since the former collapses whitespace. |
#9
| |||
| |||
|
|
In short, this suggestion doesn't do what the OP asked for. Whether it does what the OP *wants* is another question; |
#10
| |||
| |||
|
|
Samuel Murray wrote: I'm trying to use HTML as an intermediary format to convert CSV to a word processing format. But let me worry about that... I'm confused and curious. |
|
As for CSV conversion, what's the problem? I can open a .csv file in Word 2000 directly |
![]() |
| Thread Tools | |
| Display Modes | |
| |