Issue with footer alignment on Internet Explorer 7

Describing this scenario is a bit tricky. The footer of the website I am working on appears fine on most browsers, except for IE7. You can see the issue in the screenshots below:

IE8/FF/Chrome

IE7 (shifted half-screen to the right)

The CSS code for the footer is as follows. Removing this CSS resolves the display problem:

#footer-holder
{
    clear: both;
    width: 100%;
    position: fixed;
    bottom: 0px;
    *border: none;
    z-index: 10000;
    height: 30px;
    /* For WebKit */
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,0.1)), to(rgba(0,100,255,0.70)));
    /* For Mozilla */
    background: -moz-linear-gradient(top, rgba(255,255,255,0.1), rgba(0,100,255,0.70));
    /* For lt IE8 */
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr=#01FFFFFF, EndColorStr=#A50064FF);
    /* For gt IE8 */
    background: -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr=#01FFFFFF, EndColorStr=#A50064FF)";
}

I have spent considerable time trying to make it compatible with IE7. Do you have any insights into what might be causing the issue?

Answer №1

Successfully resolved the problem by including left: 0px;. The design now appears perfect on IE7. :)

Answer №2

Place <!DOCTYPE html> at the beginning of your HTML code.

Answer №3

Take away the asterisk located next to *border: none;

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Is it feasible to modify the direction of the bootstrap classes?

I'm currently utilizing Bootstrap 4 library for managing spacing (margins & paddings) on a static website by using bootstrap classes. For example: <p class="mr-3">Lorem ...</p> Now, what if I need to switch the HTML direction from ltr ...

What is the technique to link a sidebar to the body so that it moves when the navbar

Currently, I am working on implementing Bootstrap with sidebars positioned on the left and right. While using Bootstrap works effectively in pushing the body down on mobile devices, I have encountered an issue with the sidebar not being pushed down as expe ...

Expanding the size of your Bootstrap 3 input box

https://i.sstatic.net/h7HpX.png Incorporating Bootstrap 3 into a Flask application, I have created a basic layout so far: <div class="container"> <div class="row"> <div class="col-xs-12"> <div class="content"> ...

How to avoid an additional carriage return in Internet Explorer when editing a Textarea?

In Internet Explorer, we are facing an issue with a multiline textarea. After setting the content using JavaScript and checking it, everything appears correct without any additional carriage returns in the textarea: document.getElementById( 'text-ar ...

Unique underlined text design (+using+ and - symbols-)

I'm looking to create a customized text decoration, as shown in the image below: https://i.stack.imgur.com/emjND.png It's easy to achieve a dashed line using CSS for decorations like this: color: red; border-bottom: 3px dashed; // You can adjus ...

What is the best way to vertically align my image for perfect centering?

On one of my pages at , there is a section titled "FREE PICK UP AND RECYCLING OF LARGE QUANTITIES OF ELECTRONICS" with a picture of a truck. The image is perfectly centered vertically between the pictures on its left and right. Another page I have at fea ...

How can I create a CSS Layout Template Module with a fixed footer?

Currently exploring the capabilities of the JQuery library for CSS Layout Template module Wondering if it's possible to set the height of a placeholder using *, allowing it to either push content down or fill up remaining space based on the viewport ...

FancyBox: Struggling to adjust dimensions accurately

Currently using Fancybox 1.2.6 in conjunction with JQuery 1.2.6, Sample Code: <script type="text/javascript> $(document).ready(function() { $("a.iframe").fancybox({ 'width' : 300, 'hei ...

Is it possible to integrate Processing JS on top of an HTML element?

I have currently integrated Processing JS with the HTML canvas element on a website. The goal is to have the Processing JS animation run smoothly over the existing HTML elements on the page. You can check out the site at [usandthings.com][1] to get an idea ...

Create a form with two divs inside: one positioned in the middle and the other at the bottom

I have organized a responsive form of div with a central and bottom alignment. The code I have included is as follows: <link href="../css/bootstrap-theme.min.css" rel="stylesheet" /> <link href="../css/bootstrap.min.css" rel="stylesheet" /> &l ...

Switch up the background image when hovering over it

Could the proportions of the image be contributing to the issue at hand? #menu { background: black; width: 100%; height: 45px; } #menu ul { text-decoration: none; list-style-type: none; } #menu li { text-decoration: none; display: inline; font-size: ...

The secrets of z-index: Ensuring nested elements stay behind their parent element

Check out this demo to see the problem: http://jsfiddle.net/5sqxQ/2/ I am trying to make the sub menu appear below the main menu. I also want to use JavaScript to slide the menu from underneath when hovering over the parent li element. I don't real ...

Optimizing Rendering Performance: Comparing the Impact of Multiple Stylesheets vs. Single Dynamic CSS on Dynamic CSS

Currently, I am in the process of developing a website that supports "plugins" as external "displays". These plugins consist of custom full-screen HTML content managed by a client-provided JavaScript driver. The website engine utilizes an API to allow thes ...

Adding visual flair to the ng2-pdf-viewer document within the web browser

Looking to style my PDF using ng2-pdf-viewer in the browser: <pdf-viewer src="https://vadimdez.github.io/ng2-pdf-viewer/assets/pdf-test.pdf"></pdf-viewer> Here is the generated DOM structure: https://i.sstatic.net/zdmud.png To apply styling ...

What causes the styling to break in my CSS media query implementation?

Currently, I am working on making my sidebar fluid so that it adjusts with the browser window size. Everything seems to be going smoothly, except for one issue – when I add a media query to make it responsive, my CSS styling breaks. However, if I remove ...

How can I create a dynamic height for a scrollable div?

How can I build a section with a defined height that contains a sticky header (with a dynamic height) and a scrollable body? I want the body to be scrollable, but due to the header's changing height, I'm unable to set an exact height. What should ...

Creating an overlapped design with CSS can be achieved by using positioning properties such

How can I achieve an overlapped design similar to the image below using CSS and HTML? ...

Center the primary content on the screen when the header is present

I am struggling to vertically align the main content in the center of the screen. While I was able to achieve vertical alignment within a div, the presence of a header on the page is causing difficulty in centering the main content vertically with respect ...

JavaScript code that moves the active link to the top of the navigation when the window width is less than or equal to 800px

I'm working on a responsive navigation that is fixed at the top and switches from horizontal to vertical when the screen size is less than or equal to 800 pixels wide. However, I'm facing an issue with moving the active link to the top of the na ...

Adjusting Button Positioning in Bootstrap with Angular 8: A Step-by-Step Guide

My button size was changed to btn-sm, but now it's misaligned with the other social icon buttons in my navbar. How can I center it again? https://i.sstatic.net/pyoTx.png I'm using Angular 8 for my website backend (does this affect the alignment ...