Move left (no center -as it's default)

Discuss how to use and promote Web standards with the Mozilla Gecko engine.
Post Reply
trev79
Posts: 31
Joined: March 31st, 2011, 3:04 am

Move left (no center -as it's default)

Post by trev79 »

Hi
Maybe is for this extension or it is possible in about:config to move to the left edge.
I want more place for app in another window.
First is default view and bottom is desired:
Image
User avatar
trolly
Moderator
Posts: 39851
Joined: August 22nd, 2005, 7:25 am

Re: Move left (no center -as it's default)

Post by trolly »

An URL would be nice?
Moving to "Web Development".

I would suggest a greasemonkey or stylish script.
Think for yourself. Otherwise you have to believe what other people tell you.
A society based on individualism is an oxymoron. || Freedom is at first the freedom to starve.
Constitution says: One man, one vote. Supreme court says: One dollar, one vote.
Dom1953
Posts: 52
Joined: July 24th, 2014, 6:02 am
Location: Australia

Re: Move left (no center -as it's default)

Post by Dom1953 »

Googled as www.onet.pl.

<div id="mainPageBody"> is being centred in it's container by the CSS rule "margin:107px auto 0;" within what looks like CSS from a template

Code: Select all

 #mainPageBody{padding:0 7px;margin:107px auto 0;background:#fff;width:1008px;width:31.5rem}


Turning the rule off in the web console Inspector tab produces layout similar to that shown as desired. How to change it in source will depend on the software used to generate the page.

PS (Edit)
Turning off the "width: 100%;" rule for <header id="pageHeader" ...> also brought the header back over mainPageBody. Don't know what it would look like on mobile devices.
User avatar
Pim
Posts: 2215
Joined: May 17th, 2004, 2:04 pm
Location: Netherlands

Re: Move left (no center -as it's default)

Post by Pim »

Is this really a Web Development question?

trev79, you can put

Code: Select all

@-moz-document domain("www.onet.pl") {
    #mainPageBody {margin-left:0 !important}
}

in your userContent.css
Groetjes, Pim
Post Reply