Fixes, mainly.

This commit is contained in:
Niels Serup
2011-08-10 23:35:57 +02:00
parent 094dbbec6b
commit 912602822e
9 changed files with 68 additions and 6 deletions

View File

@@ -22,7 +22,7 @@ get_window_size = function() {
};
is_screen_media = function() {
return (document.getElementsByTagName('link')[0].getAttribute('media').indexOf(
return (document.getElementsByTagName('link')[1].getAttribute('media').indexOf(
'screen') != -1 || (document.styleSheets &&
(document.styleSheets[0].media.mediaText.indexOf(
'screen') != -1 || document.styleSheets[0].media.indexOf(

View File

@@ -328,6 +328,10 @@ thead, tfoot {
margin: 10px auto 0 auto;
}
caption {
caption-side: bottom;
}
/* Formatting-related classes */