http://www.c5d.co.uk/descriptioned11891.php
Impressive, Antony! I’ve never used rotations. This looks like quite an accomplishment.
I have a few bits of feedback for you, if you’re interested.
For starters… Line 40 on the descriptioned11891.php page begins with a stray <p> tag.
<p><table class=“table-3”>
The stray <p> tag should be deleted. (Is that the one that’s following you around? If so, break out the sledge hammer and squash it!!!)
Very oddly, the page does not have an open <head> tag. There should be an open <head> tag just beneath the
<html lang=“en”> tag. Are you bringing in part of the head with a php “include” call or was this just an “oops”?
Even stranger, the validator that Firefox uses didn’t complain about the missing <head> tag which makes me wonder if the validator is out of date or if the standards for writing HTML5 are different than HTML4. Dunno.
The vertically aligned table columns look like books on a shelf. Really cool. Don’t know if this matters to you or not, but I glanced at the books on my shelf and noticed that the titles read from top to bottom, 180 degrees from the orientation that you chose. Like I said, that’s just an observation.
One more observation that might matter is that the table has become too wide. Wider than the #container width of 950px. That gives the table an “off center” look, and indeed, in a 4x3 monitor, it begins pushing off the right edge of the viewport. You might want to reconsider the widths of the columns of that table in order to reduce its fixed width.
I ran through some example widths and found that the following seemed to work nicely to my eyes.
The attached screen shots show your current settings in the Before view, and these settings in the After view for comparison purposes. Be sure to note the horizontal scroll bar in the Before view.
Line 148
.test th, .test td {
border: 1px solid #000000;
text-align: center;
[COLOR="#FF0000"]width: 150px;[/COLOR] /* Delete this width property */
}
Line 154
p.rotate {
transform: rotate(-90deg);
white-space: nowrap;
width: [COLOR="#FF0000"]85px[/COLOR]; /* Change from 100px to 80-90px to reduce the width of the columns with rotated text. */
}
Line 163
[COLOR="#FF0000"].test tr { /* Delete this rule entirely */
width: 50px;
}[/COLOR]
Line 164
[COLOR="#FF0000"].col9 { /* Delete this paragraph rule entirely (See next note about padding.) */
height: 500px; /* Delete. Way too tall. Fixed heights are inflexible. */
width: 250px; /* Delete. A width is unnecessary; this is too wide anyway. */
}[/COLOR]
NOTE: If you want more space beneath the column9 paragraph, add a little padding to the bottom of the paragraph.
.col9 {
padding-bottom:2em; /* or thereabouts */
}
-
- BEFORE - - - - - - - - - - - AFTER - -
-
Cheers