Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Website not centered on layout, but it is on Internet Explorer, what could be the problem?

  • 8 பதிலளிப்புகள்
  • 1 இந்த பிரச்சனை உள்ளது
  • 2 views
  • Last reply by RemyK

My website www.thegreatestmindsofourtime.com/downloadpagemain.htm does not get centered when it displayed with Firefox.

But if I use internet explorer, it is centered as it supposed to be.

My website www.thegreatestmindsofourtime.com/downloadpagemain.htm does not get centered when it displayed with Firefox. But if I use internet explorer, it is centered as it supposed to be.

தீர்வு தேர்ந்தெடுக்கப்பட்டது

That CSS rule works for me on Linux to center the page.

Start Firefox in Diagnose Firefox issues using Troubleshoot Mode to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).

Read this answer in context 👍 0

All Replies (8)

Add this style rule to the CSS code.


.style54 {
 margin-left: auto;
 margin-right: auto;
}

Not solved it. I put the code in css at the top first. Then I tried at the bottom.

It does not centralized the body of the site.

Regards.

I'm not seeing that style rule.


.style54 {
 background-color: #FFFFFF;
}

You can test it by pasting this bookmarklet code in the Scratchpad window and execute (run) the code via Ctrl+R

javascript:(function(){var doc=document,css=doc.createElement('LINK');css.rel='stylesheet';css.type='text/css';css.href='data:text/css,'+'.style54 {margin-left:auto; margin-right:auto;}';doc.documentElement.childNodes[0].appendChild(css);})();

Hi, Again.

What is a ScratchPad window? My CSS file sits on my host server.

You can open the Scratchpad via Firefox > Web Developer > Scratchpad or Shift+F4

Hi,

I tried this option, but it does not change anything.

Regards,

Remy

தீர்வு தேர்ந்தெடுக்கப்பட்டது

That CSS rule works for me on Linux to center the page.

Start Firefox in Diagnose Firefox issues using Troubleshoot Mode to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).