Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reclaim left over space after hiding element #1030

Closed
Spamme1 opened this issue Dec 8, 2015 · 1 comment
Closed

Reclaim left over space after hiding element #1030

Spamme1 opened this issue Dec 8, 2015 · 1 comment

Comments

@Spamme1
Copy link

Spamme1 commented Dec 8, 2015

I googled it, but I couldn't find anywhere, how to reclaim the left over space after hiding an element? Some pages are built with width in percentage, this means that after hiding an element, the other elements don't expand in the left over space. For example if you have two DIV elements side by side with css width of 50%, so that you have a two columns layout, and you hide one DIV element, one column, the other DIV element doesn't expand in the left over space of the hidden DIV element.

<DIV id="container">
  <DIV id="column1" style="width:50%;float:left;">...</DIV>
  <DIV id="column2" style="width:50%;float:right;">...</DIV>
</DIV>

Is it possible to reclaim the left over space? For example with an overriding css rule? I know that is possible with other extensions like stylish or greasemonkey, but I would prefer to have everything in one place.

@gorhill
Copy link
Owner

gorhill commented Dec 8, 2015

Duplicate of #781.

@gorhill gorhill closed this as completed Dec 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants