- Posts: 3
- Thank you received: 0
Padding on Image Data in IE
-
sean.killian
Inactive member - Topic Author
- New Member
Less
More
12 years 3 months ago #21630
by sean.killian
Padding on Image Data in IE was created by sean.killian
In my installation, the padding around the data at the bottom of the popup is not showing in IE7, IE8 and IE9. Looks fine in FF and Chrome.
Example here: www.whyatt.com.au/index.php?option=com_c...&view=article&id=115
Or see attached file.
The CSS in question is here...
#lightbox-container-image-data-box {
padding: 0 10px;
}
Any idea how I can get IE to apply the padding?
Thanks.
Example here: www.whyatt.com.au/index.php?option=com_c...&view=article&id=115
Or see attached file.
The CSS in question is here...
#lightbox-container-image-data-box {
padding: 0 10px;
}
Any idea how I can get IE to apply the padding?
Thanks.
Attachments:
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 3 months ago #21639
by ivan.milic
Replied by ivan.milic on topic Padding on Image Data in IE
Hi,
try adding this to head section of index.php of template:
<style type="text/css">
<!--[if IE]>
#lightbox-container-image-data-box #lightbox-container-image-data{
margin:0 20px;
}
<![endif]-->
</style>
maybe you will need to adjust 20px.
try adding this to head section of index.php of template:
<style type="text/css">
<!--[if IE]>
#lightbox-container-image-data-box #lightbox-container-image-data{
margin:0 20px;
}
<![endif]-->
</style>
maybe you will need to adjust 20px.
Please Log in to join the conversation.
-
sean.killian
Inactive member - Topic Author
- New Member
Less
More
- Posts: 3
- Thank you received: 0
12 years 3 months ago #21643
by sean.killian
Replied by sean.killian on topic Padding on Image Data in IE
Thanks Ivan, but that did not work.
I now have horizontal scrollbars: www.whyatt.com.au/index.php?option=com_c...&view=article&id=115
I now have horizontal scrollbars: www.whyatt.com.au/index.php?option=com_c...&view=article&id=115
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 3 months ago - 12 years 3 months ago #21648
by ivan.milic
Replied by ivan.milic on topic Padding on Image Data in IE
Try this,
remove that last change then open:
plugins/content/plugin_photogallery/js/jquery.lightbox-0.5.min.js
locate this:
jQuery('#lightbox-container-image-data-box').css({width:intImageWidth});
replace it with:
jQuery('#lightbox-container-image-data-box').css({width:intImageWidth + (jQuery.browser.msie? 20 : 0)});
remove that last change then open:
plugins/content/plugin_photogallery/js/jquery.lightbox-0.5.min.js
locate this:
jQuery('#lightbox-container-image-data-box').css({width:intImageWidth});
replace it with:
jQuery('#lightbox-container-image-data-box').css({width:intImageWidth + (jQuery.browser.msie? 20 : 0)});
Last edit: 12 years 3 months ago by ivan.milic.
The following user(s) said Thank You: sean.killian
Please Log in to join the conversation.
-
sean.killian
Inactive member - Topic Author
- New Member
Less
More
- Posts: 3
- Thank you received: 0
12 years 3 months ago #21651
by sean.killian
Replied by sean.killian on topic Padding on Image Data in IE
That got it - thanks Ivan.
Please Log in to join the conversation.
Time to create page: 0.178 seconds