Can someone kindly help me make my Joomla based website look the same in IE8 as it does in Firefox?

Dani AI

Generated

Good catch by — timing issues and differences in how IE8 parses HTML/CSS/JS are common causes. Before we dig deeper, try a few focused checks so you can narrow the problem down quickly.

First, sanity checks: ensure you have a proper DOCTYPE so IE runs in standards mode (see Doctype). Run your HTML/CSS through the W3C validator (validator.w3.org) to catch markup errors that browsers tolerate differently. Open IE8's F12 tools and confirm the Document Mode/Browser Mode; switching modes often reveals whether the page is in quirks mode. Next, isolate JavaScript by temporarily disabling scripts or moving them to the bottom of the page. If JS timing looks suspect, wrap layout-affecting code so it runs after the DOM is ready. For example:

// jQuery
$(function(){
  // layout code here
});

// Plain JS (IE8-friendly)
function onReady(fn){
  if(document.readyState === 'complete'){ fn(); }
  else if(document.addEventListener){ document.addEventListener('DOMContentLoaded', fn, false); }
  else { document.attachEvent('onreadystatechange', function(){ if(document.readyState === 'complete') fn(); }); }
}
onReady(function(){ /* layout code */ });

Common IE8-specific fixes: trigger hasLayout with zoom:1 for elements that collapse, handle float/margin bugs, and use conditional stylesheets if you need targeted CSS:

<!--[if IE 8]><link rel="stylesheet" href="ie8.css" /><![endif]-->

If you still see differences, post a minimal reproducible snippet (HTML + the specific CSS/JS affecting the area) and mention what the F12 tools show for computed styles — that will make it much easier to pinpoint the cause.

Recommended Answers

All 4 Replies

An URL would help...

Never seen this error before. Perhaps you have javascript that runs too soon.

I wish someone could help me find out.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.