CSS - NN
by Ed McClelland <ed.mcclelland(at)erols.com>
|
Date: |
Fri, 03 Nov 2000 09:03:25 -0600 |
To: |
hwg-techniques(at)mail.hwg.org |
|
todo: View
Thread,
Original
|
|
I found the solution. Thanks everybody. It was the "word-spacing: 2pt;"
in the style that was messing up the column alignment in <pre></pre>. As
soon as I removed it, the column straightened out in NN and Opera. Then I
reinserted it, but put "word-spacing: 0pt;" in the pre style. Now I get
the word-spacing and the columns are straight. (Not sure word-spacing
works in NN, but I'm not worried about that--I just wanted to get the
columns straight.) It looks good now in all three browsers.
<style type="text/css">
<!--
body { margin-left: 10%; margin-right: 10%; word-spacing: 2pt; font-family:
book antiqua, times new roman; font-size: 1.1em; font-weight: 500; }
h1 { font: 1.9em serif }
h2 { font: 1.6em serif }
h3 { font: 1.3em serif }
h4 { font: 1.0em serif }
pre { font-family: courier; font-size: .7em; word-spacing: 0pt; }
-->
</style>
Ed McClelland, Alexandria, Virginia.
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA