We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22253
    • 54 Posts
    Hi All,

    I was wondering if anyone could help me with an issue I’m having with Internet Explorer. It appears to be displaying my maxigallery buttons incorrectly. I know IE doesnt like Padding so I’ve made sure I haven’t used any. I have attached the screenshot for Firefox which is correct & the screenshot for the IE which is incorrect. Also here is my css:

    @charset "UTF-8";
    
    
    body {
    	background-color: #000000;
    	margin-left: 0px;
    	margin-top: 0px;
    	margin-right: 0px;
    	margin-bottom: 0px;
    }
    #main {
    	float: right;
    	height: 370px;
    	width: 714px;
    	margin-top: 4px;
    	background-image: url(../images/main.png);
    }
    #maininner {
    	float: left;
    	height: 336px;
    	width: 709px;
    	margin-top: 10px;
            margin-left:10px;
            padding: 0px;
    }
    #wrapper {
    	width: 970px;
    	height: 450px;
    	margin-top: 147px;
    	margin-right: auto;
    	margin-bottom: 0;
    	margin-left: auto;
    	position: relative;
    	padding: 0px;
    }
    #header {
    	height: 75px;
    	width: 970px;
    	background-image: url(../images/header.png);
    	background-repeat: no-repeat;
    	float: left;
    	margin-right: 0px;
    	margin-bottom: 0px;
    	margin-left: 0px;
    }
    #footer {
          height: 25px;
          width: 970px;
          float: left;
    }
    #nav {
    	float: left;
            display:block;
            z-index:1000;
    }
    #nav ul {
    	line-height: 24px;
            margin: 0px;
            padding: 0px;
            width: 100px;
    }
    #nav a:link, #nav a:visited {
    	font-family: Arial, Helvetica, sans-serif;
    	font-size: 11px;
    	font-weight: bold;
    	text-transform: uppercase;
    	color: #FFFFFF;
    	text-decoration: none;
    }
    #nav a:hover {
    	font-family: Arial, Helvetica, sans-serif;
    	font-size: 11px;
    	font-weight: bold;
    	text-transform: uppercase;
    	color: #0099FF;
    	text-decoration: none;
    }
    #nav li.here a {
    	font-family: Arial, Helvetica, sans-serif;
    	font-size: 11px;
    	font-weight: bold;
    	text-transform: uppercase;
    	color: #0099FF;
    	text-decoration: none;
    }
    #nav .sub {
            top: 0px;
            left: 120px;
    	position: absolute;
            display: none;
     }
    #nav ul li {
        position: relative
    } 
    #nav ul li.active ul {
        display:block;
    }
    #footer {
    	line-height: 24px;
            font-family: Arial, Helvetica, sans-serif;
    	font-size: 11px;
    	font-weight: normal;
    	color: #0099FF;
    	text-decoration: none;
            text-align: right;
    }
    #footer a:link {
            line-height: 24px;
            font-family: Arial, Helvetica, sans-serif;
    	font-size: 11px;
    	font-weight: normal;
    	color: #FFFFFF;
    	text-decoration: none;
    }
    #footer a:hover {
            line-height: 24px;
            font-family: Arial, Helvetica, sans-serif;
    	font-size: 11px;
    	font-weight: normal;
    	color: #0099FF;
    	text-decoration: none;
            text-align: right;
    }
    #maininner p {
    	line-height: 14px;
            font-family: Arial, Helvetica, sans-serif;
    	font-size: 11px;
    	font-weight: bold;
    	color: #FFFFFF;
    	text-decoration: none;
            text-transform: uppercase;
            text-align: left;
    }
    #maininner a:link {
    	line-height: 14px;
            font-family: Arial, Helvetica, sans-serif;
    	font-size: 11px;
    	font-weight: bold;
    	color: #000000;
            text-transform: uppercase;
    	text-decoration: none;
            text-align: left;
    }
    #maininner a:hover {
    	line-height: 14px;
            font-family: Arial, Helvetica, sans-serif;
    	font-size: 11px;
    	font-weight: bold;
    	color: #FFFFFF;
            text-transform: uppercase;
    	text-decoration: none;
            text-align: left;
    }
    


    I also edited the css file for Maxigallery which is here:
    ul.thumbs li {
    	list-style: 		none;
    	float: 				left;
    	display: 			block;
    	list-style-image: 	none !important;
    	margin:				0px 5px 5px 0px;
    }
    ul.thumbs {
    	list-style: 		none;
    	margin: 			0;
    	padding: 			0;
    	clear: 				both;
    }
    ul.thumbs li img {
    	border:				none;
    	margin:				0 !important;
            float: left;
    }
    ul.thumbs li a {
    	background:			none !important;
    	text-decoration:	none;
    	border: 			0;
    }
    ul.thumbs li p {
    	overflow:			hidden;
    }
    .thumbs .clearboth { 
    	clear: 				both; 
    }
    .childscontainer {
    	margin-bottom:		20px;
    	float:				left;
    }
    .thumbscontainer {
    	margin-bottom:		0px;
    	float:				left;
    
    }
    .pagenumbers {
            height:		20px;
            font-family: Arial, Helvetica, sans-serif;
    	font-size: 11px;
    	font-weight: bold;
    	text-transform: uppercase;
    	color: #FFFFFF;
    	text-decoration: none;
            position: absolute;
            top: 430px;
           
    }
    .pagenumbers a  {
    color: #000000;
    text-decoration: none;
    
    }
    .pagenumbers a:hover {
     color: #FFFFFF;
    text-decoration: none;
    
    
    }
    .picturecontainer {
    	text-align:			center;
    }
    .picturecontainer .title {
    	font-weight:		bold;
    	margin-top:			20px;
    }
    .picturecontainer .picture img {
    	border:				none;
    	margin:				0 !important;
    }
    .picturecontainer .picture a {
    	background:			none !important;
    	text-decoration:	none;
    	border: 			0;
    }
    .managecontainer {
        float: 				left;
        background-color: #0099ff;
    }
    .managecontainer textarea {
    	width:				395px;
    }
    .managecontainer hr {
    	width:				400px;
    	text-align: 		left;
    	margin: 			20px auto 20px 0;
    }
    .pictureform .managepicture {
    	float:				left;
    	clear:				left;
    }
    .pictureform .shortfields {
    	margin-left: 		20px;
    	float:				left;
    }
    .pictureform .clearboth {
    	clear:				both;
    }
    .uploadcounter {
    	width: 				20px;
    	margin-bottom: 		10px;
    	float:				left;
    	clear:				left;
    }
    .uploadfile {
    	margin-bottom: 		10px;
    	float:          	none;
    }
    .uploadfile input {
    	width:				385px;	
    }
    .uploadform {
    	margin-top:			20px;
    	margin-bottom:		-10px;
       	clear: 				both;
    }
    .uploadform .clearboth {
    	clear:				both;
    }
    .slideshowwrapper {
    	text-align:			center;
    }
    .deleteform {
    	float:				left;
    }
    .synchform {
    	float:				left;
    }


    If there is anything else needed to help with this issue please let me know.

    Thanks in advance.
      • 7923
      • 4,213 Posts
      Why have you positioned the pagenumbers with setting top: 430px; etc?

      Just create a custom galleryOuterTpl and move the pagenumbers after the thumbnails container there.


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 22253
        • 54 Posts
        Hi Doze,

        Thanks for the reply.

        So how do I do this? I set the top parameter as by default the numbers were sat at the top of the div.
          • 22253
          • 54 Posts
          This is my galleryOuterTpl at the moment
          [+maxigallery.managebutton:isnot=``:then=`
          
          	<center>[+maxigallery.managebutton+]</center>
          	<br />
          	
          `+]
          
          [+maxigallery.childgalleries:isnot=``:then=`
          	<div class="childscontainer">
          		<ul class="thumbs">
          			[+maxigallery.childgalleries+]
          		</ul>
          	</div>
          	
          `+]
          
          [+maxigallery.pagenumbers:isnot=``:then=`
          	
          	[+maxigallery.pagecount:isnot=`1`:then=`
          
          		<div class="pagenumbers">
          	
          		[+maxigallery.currentpage:is=`1`:then=`
          
          			[+maxigallery.strings.previous+] |
          
          		`:else=`
          		
          			<a href="[+maxigallery.previous_page_url+]">[+maxigallery.strings.previous+]</a> |
          		`+]
          	
          		[+maxigallery.pagenumbers+]
          	
          		[+maxigallery.currentpage:is=`[+maxigallery.pagecount+]`:then=`
          
          			[+maxigallery.strings.next+]
          
          		`:else=`
          	
          			<a href="[+maxigallery.next_page_url+]">[+maxigallery.strings.next+]</a> 
          	
          		`+]
          			
          		</div>
          	`+]
          `+]
          
          [+maxigallery.embedtype:is=`smoothgallery`:then=`
          	<div id="myGallery[+maxigallery.config.smoothgallery_id:isnot=`-1`:then=`[+maxigallery.config.smoothgallery_id+]`:else=`[+maxigallery.pageinfo.id+]`+]">
          	[+maxigallery.pictures+]
          	</div>
          `+]
          
          [+maxigallery.embedtype:isnot=`smoothgallery`:then=`
          	[+maxigallery.pictures:isnot=``:then=`
          		<div class="thumbscontainer">
          			<ul class="thumbs">
          				[+maxigallery.pictures+]
          			</ul>
          		</div>
          	`+]
          `+]


          So which bit do I need to change (or add to a new custom template)?
            • 22253
            • 54 Posts
            Hi Doze,

            I have managed to create a custom outer gallert template which is fine. But now the numbers are sitting directly below the thumbnails. Whats the best way to get them into the same position they were before, so the bottom left of the div basically.

            This is probably simple but I struggle with certain elements.

            Thanks in advance.
              • 7923
              • 4,213 Posts
              Position the elements with css.. and you know that you can edit the custom templates as much as you want, so that it outputs the html the way you need. It’s just html + css, I’m not going to desing your site for you. smiley


                "He can have a lollipop any time he wants to. That's what it means to be a programmer."
                • 22253
                • 54 Posts
                No of course not. I just wasn’t sure if the positioning was what was causing the IE issues?