Summary reported bug 616: IE 7 Display : thumbnail border is top truncated

git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1712 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
vdigital 2007-01-11 05:39:49 +00:00
parent d9d37d76c6
commit 085f3badc0
2 changed files with 24 additions and 0 deletions

21
template/yoga/fix-ie7.css Normal file
View file

@ -0,0 +1,21 @@
/* $Id: fix-ie7.css 1518 2007-01-09 16:26:52Z Vincent $ */
/* fix IE with another layout for thumbnails */
#content UL.thumbnails SPAN.wrap2 {
display: block;
position: relative;
text-align: left;
}
#content UL.thumbnails SPAN.wrap2 A,
#content UL.thumbnails SPAN.wrap2 SPAN {
overflow: visible;
position: absolute;
top: 50%;
text-align: center;
}
#content UL.thumbnails IMG.thumbnail {
position: relative;
top: -50%;
margin-top: 2%;
}

View file

@ -11,6 +11,9 @@ the "text/nonsense" prevents gecko based browsers to load it -->
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" href="{pwg_root}template/{themeconf:template}/fix-ie5-ie6.css">
<![endif]-->
<!--[if gt IE 6]>
<link rel="stylesheet" type="text/css" href="{pwg_root}template/{themeconf:template}/fix-ie7.css">
<![endif]-->
<link rel="stylesheet" type="text/css" media="print" href="{pwg_root}template/{themeconf:template}/print.css">
<link rel="stylesheet" type="text/css" href="{pwg_root}template/{themeconf:template}/default-colors.css">
<link rel="stylesheet" type="text/css" href="{pwg_root}template/{themeconf:template}/theme/{themeconf:theme}/theme.css">