Hello and happy Christmas
I've got several thousand documents which are transcriptions of Wills. The <pre> tag is around the transcription. In my CSS I currently have:
[pre]pre {font-family: monospace;
font-size: 1.75em;
line-height: 1.75em;
}
[/pre]
Because of the nature of the documents, a lot of them are going over their margins, so I added in this piece to the CSS
[pre]white-space: pre-line;[/pre]
Now this is working in Internet Explorer and Firefox, but not in Chrome. I've tried the "modern browser" version from this code
[pre]pre {
word-wrap: break-word; /* IE 5.5-7 */
white-space: -moz-pre-wrap; /* Firefox 1.0-2.0 */
white-space: pre-wrap; /* Modern browsers */
}[/pre]
which is from but that's not working either.
Can someone suggest what I can use? At the moment I'm manually formatting each item, but there are over 5000 of these and it's going to take forever!
thank you for helping
____________
Pendle
I've got several thousand documents which are transcriptions of Wills. The <pre> tag is around the transcription. In my CSS I currently have:
[pre]pre {font-family: monospace;
font-size: 1.75em;
line-height: 1.75em;
}
[/pre]
Because of the nature of the documents, a lot of them are going over their margins, so I added in this piece to the CSS
[pre]white-space: pre-line;[/pre]
Now this is working in Internet Explorer and Firefox, but not in Chrome. I've tried the "modern browser" version from this code
[pre]pre {
word-wrap: break-word; /* IE 5.5-7 */
white-space: -moz-pre-wrap; /* Firefox 1.0-2.0 */
white-space: pre-wrap; /* Modern browsers */
}[/pre]
which is from but that's not working either.
Can someone suggest what I can use? At the moment I'm manually formatting each item, but there are over 5000 of these and it's going to take forever!
thank you for helping
____________
Pendle