The matter of the recommended mods for the table...
These two screenshots show "As-Is" and "WithMods" comparisons of descriptioned41891.
- - As Is - - - - - - With Mods - -
41891-AsIs.jpg - 41891-wMods.jpg
To my eyes, the mods look more professional than the table pushing off the right edge of the window.
If you agree, the code again is:
censusstyle.css
Line 151:
Code:
.test th, .test td {
border: 1px solid #000000;
text-align: center;
width: 150px; /* Delete this width property */
}
Lines 161 and 169:
Code:
p.rotate {
transform: rotate(-90deg);
white-space: nowrap;
width: 80px; /* Change from 100px to 80px to increase the width of .col9. */
}
Line 172:
Code:
.test tr { /* Delete this rule entirely */
width: 50px;
}
Line 173:
Code:
.col9 { /* Delete this paragraph rule entirely (See next note about padding.) */
height: 570px; /* Delete. Way too tall. Fixed heights are inflexible. */
width: 250px; /* Delete. A width is unnecessary; this is too wide anyway. */
}
Also, I have copied the code from Paul's post that assures IE7 compatibility of the transform rotate code. Be sure to paste this code exactly just above the </head> tag (~line 15) on all of the pages that use the rotate code.
Code:
<!--[if lte IE 8]>
<style type="text/css">
p.rotate {
writing-mode: tb-rl;
filter: flipv fliph;
display:inline-block;
*display:inline;
zoom:1.0;
letter-spacing:1px;
}
</style>
<![endif]-->
And FINALLY, be SURE to add the OPEN <head> tag just under the <html lang="en"> tag at the top of these pages, as I mentioned in my earlier post.
You left me with some more questions to explore, so let me do that now and I'll post another response later.
Cheers
Bookmarks