You are not logged in.

#1 2014-08-10 13:44:29

tigrezno
Member
Registered: 2004-05-10
Posts: 64

Centering every web page in Firefox

I'm trying to get a good solution for this but I'm getting some problems with embedded videos (they appear displaced inside their own containers).

Currently my solution uses the Stylish addon with this css:

body {
  width: 1280px !important;
  margin: auto !important;
}

It works great with many pages but sometimes it conflicts with some css.

Do you know a better way to do this?

Last edited by tigrezno (2014-08-10 14:11:42)

Offline

#2 2014-08-10 14:01:52

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: Centering every web page in Firefox

It's going to conflict with some CSS, since positioning of content is a deliberate choice by the site designer. You're not changing fonts or background colors, here; you're trying to completely rearrange fundamental elements.

Offline

#3 2014-08-10 14:12:59

tigrezno
Member
Registered: 2004-05-10
Posts: 64

Re: Centering every web page in Firefox

ANOKNUSA wrote:

It's going to conflict with some CSS, since positioning of content is a deliberate choice by the site designer. You're not changing fonts or background colors, here; you're trying to completely rearrange fundamental elements.

Yes, I suppose. It would be better adding fake margins to rendering screen, "simulating" a smaller screen, but I don't know how to code addons.

Offline

#4 2014-08-10 16:21:30

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: Centering every web page in Firefox

Why don't you just resize & center the window though?


This silver ladybug at line 28...

Offline

Board footer

Powered by FluxBB