--- cfmaps/common.css 2005/11/20 05:08:10 1.3 +++ cfmaps/common.css 2005/11/20 08:19:11 1.7 @@ -1,9 +1,9 @@ body { background: white; color: black; } + a:link { color: #00f; } +a:visited { color: #008; } a:hover { color: #800; } a:active { color: #f00; } -a:visited:active { color: #f00; } -a:visited { color: #008; } img { display: block; } @@ -17,15 +17,17 @@ table-layout: fixed; border: 2px solid #777; border-spacing: 0px; + border-collapse: separate; background-position: 0px 0px; background-repeat: no-repeat; } -.map tr { width: 32px; height: 32px; border-style: none; margin: 0px; padding: 0px; } +.map tr { width: 32px; height: 32px; margin: 0px; padding: 0px; } -.map td { width: 32px; height: 32px; border-style: none; margin: 0px; padding: 0px; } -.map td:hover { border: 3px solid yellow; border-style: ridge; } +.map td { width: 32px; height: 32px; margin: 0px; padding: 0px; border: 0px; } +.map td > div { padding: 3px; width: 26px; height: 26px; position: relative; line-height: 10px; } +.map td > div:hover { padding: 0px; border: 3px solid yellow; border-style: ridge; } -.map td > div { position: relative; display: inline; } +.c { display: none; } .map div > div { display: none; @@ -38,7 +40,15 @@ border-style: ridge; padding: 4px; } -.map td:hover div > div { display: block; position: absolute; z-index: 1; top: -1px; left: 32px; white-space: pre; } +.map td:hover div > div { + display: block; + position: absolute; + z-index: 1; + top: -3px; + left: 29px; + white-space: pre; +/* overflow: auto; # makes it impossible to move into the popup... */ +} .tilemap { table-layout: fixed; border: 2px solid #777; border-spacing: 0px; } .tilemap * { border-style: none; border: 0px; margin: 0px; padding: 0px; }