Why overflow:hidden is working only in chrome and not in firefoxTargeting only Firefox with CSSHow to style a <select> dropdown with only CSS?HTML href with css ie ProblemHow to remove border (outline) around text/input boxes? (Chrome)How do I manually fire HTTP POST requests with Firefox or Chrome?How do CSS triangles work?Show Div on top..its not working in Chrome browserWhy does HTML think “chucknorris” is a color?Twitter Bootstrap: div in container with 100% heightIssue where min-height and bottom margins add extra space on Chrome (Collpasing Margins)

Why do the TIE Fighter pilot helmets have similar ridges as the rebels?

What is the theme of analysis?

What plausible reason could I give for my FTL drive only working in space

Suppose leased car is totalled: what are financial implications?

What's the best way to quit a job mostly because of money?

Are the guests in Westworld forbidden to tell the hosts that they are robots?

Problem with pronounciation

Does a single fopen introduce TOCTOU vulnerability?

What does this line mean in Zelazny's "The Courts of Chaos"?

Who is "He that flies" in Lord of the Rings?

Is it safe to remove Python 2.7.15rc1 from Ubuntu 18.04?

Find all letter Combinations of a Phone Number

Create a cube from identical 3D objects

Course development: can I pay someone to make slides for the course?

How to handle when PCs taste a potion that is actually poison?

Why did the World Bank set the global poverty line at $1.90?

How to befriend someone who doesn't like to talk?

Why do Bhargava-Skinner-Zhang consider the ordering by height?

Can I use 220 V outlets on a 15 ampere breaker and wire it up as 110 V?

Professor Roman loves to teach unorthodox Chemistry

In American Politics, why is the Justice Department under the President?

Is Jesus the last Prophet?

Insert a smallest possible positive integer into an array of unique integers

How do I type a hyphen in iOS 12?



Why overflow:hidden is working only in chrome and not in firefox


Targeting only Firefox with CSSHow to style a <select> dropdown with only CSS?HTML href with css ie ProblemHow to remove border (outline) around text/input boxes? (Chrome)How do I manually fire HTTP POST requests with Firefox or Chrome?How do CSS triangles work?Show Div on top..its not working in Chrome browserWhy does HTML think “chucknorris” is a color?Twitter Bootstrap: div in container with 100% heightIssue where min-height and bottom margins add extra space on Chrome (Collpasing Margins)






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















the overflow:hidden property is working in google chrome and not in firefox and microsoft edge, i'am using it to give full page height to a sidebar so that it will have the same body height.



Style:



.sidebar 
position:absolute;
width: 225px;
background-color: #4b4b4b;
margin-bottom: -5000px;
padding-bottom: 5000px;
overflow: hidden;



html :



<div class="sidebar">
<div class="nav-item active">
<a class="nav-link border-bottom border-warning Request::path()=='home' ? 'selectioné' : ''" href="home"><span>Dashboard</span></a>
</div>
<div class="nav-item">
<a class="nav-link border-bottom border-warning Request::path()=='register' ? 'selectioné' : ''" href="register"><span>Ajout Compte</span></a>
</div>
<div class="nav-item">
<a class="nav-link border-bottom border-warning" href="*******"><span>*******</span></a>
</div>
<div class="nav-item">
<a class="nav-link border-bottom border-warning" href="/telescope" target="_blank"><span>Telescope</span></a>
</div>
<div class="nav-item">
<a class="nav-link border-bottom border-warning" href="tables.html"><span>Tables3</span></a>
</div>
<div class="nav-item">
<a class="nav-link border-bottom border-warning" href="tables.html"><span>Tables4</span></a>
</div>
</div>


body :



body 
position: relative;
min-height: 100vh;
padding-bottom: 4.5rem;



footer:



footer 
position: absolute;
border-radius: 12px;
right: 0;
bottom: 0;
width: calc(100% - 225px);
height: 80px;
background-color: #e2e2e2;
text-align: center;
padding-top: 28px;
font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;



main:



.main 
width: 100%;
padding-left: 225px;
padding-top: 11px;
padding-bottom: 30px;



how can i make this work in all browsers ?










share|improve this question
























  • can you also share HTML. Thanks

    – Hassan Siddiqui
    Mar 24 at 23:03

















0















the overflow:hidden property is working in google chrome and not in firefox and microsoft edge, i'am using it to give full page height to a sidebar so that it will have the same body height.



Style:



.sidebar 
position:absolute;
width: 225px;
background-color: #4b4b4b;
margin-bottom: -5000px;
padding-bottom: 5000px;
overflow: hidden;



html :



<div class="sidebar">
<div class="nav-item active">
<a class="nav-link border-bottom border-warning Request::path()=='home' ? 'selectioné' : ''" href="home"><span>Dashboard</span></a>
</div>
<div class="nav-item">
<a class="nav-link border-bottom border-warning Request::path()=='register' ? 'selectioné' : ''" href="register"><span>Ajout Compte</span></a>
</div>
<div class="nav-item">
<a class="nav-link border-bottom border-warning" href="*******"><span>*******</span></a>
</div>
<div class="nav-item">
<a class="nav-link border-bottom border-warning" href="/telescope" target="_blank"><span>Telescope</span></a>
</div>
<div class="nav-item">
<a class="nav-link border-bottom border-warning" href="tables.html"><span>Tables3</span></a>
</div>
<div class="nav-item">
<a class="nav-link border-bottom border-warning" href="tables.html"><span>Tables4</span></a>
</div>
</div>


body :



body 
position: relative;
min-height: 100vh;
padding-bottom: 4.5rem;



footer:



footer 
position: absolute;
border-radius: 12px;
right: 0;
bottom: 0;
width: calc(100% - 225px);
height: 80px;
background-color: #e2e2e2;
text-align: center;
padding-top: 28px;
font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;



main:



.main 
width: 100%;
padding-left: 225px;
padding-top: 11px;
padding-bottom: 30px;



how can i make this work in all browsers ?










share|improve this question
























  • can you also share HTML. Thanks

    – Hassan Siddiqui
    Mar 24 at 23:03













0












0








0








the overflow:hidden property is working in google chrome and not in firefox and microsoft edge, i'am using it to give full page height to a sidebar so that it will have the same body height.



Style:



.sidebar 
position:absolute;
width: 225px;
background-color: #4b4b4b;
margin-bottom: -5000px;
padding-bottom: 5000px;
overflow: hidden;



html :



<div class="sidebar">
<div class="nav-item active">
<a class="nav-link border-bottom border-warning Request::path()=='home' ? 'selectioné' : ''" href="home"><span>Dashboard</span></a>
</div>
<div class="nav-item">
<a class="nav-link border-bottom border-warning Request::path()=='register' ? 'selectioné' : ''" href="register"><span>Ajout Compte</span></a>
</div>
<div class="nav-item">
<a class="nav-link border-bottom border-warning" href="*******"><span>*******</span></a>
</div>
<div class="nav-item">
<a class="nav-link border-bottom border-warning" href="/telescope" target="_blank"><span>Telescope</span></a>
</div>
<div class="nav-item">
<a class="nav-link border-bottom border-warning" href="tables.html"><span>Tables3</span></a>
</div>
<div class="nav-item">
<a class="nav-link border-bottom border-warning" href="tables.html"><span>Tables4</span></a>
</div>
</div>


body :



body 
position: relative;
min-height: 100vh;
padding-bottom: 4.5rem;



footer:



footer 
position: absolute;
border-radius: 12px;
right: 0;
bottom: 0;
width: calc(100% - 225px);
height: 80px;
background-color: #e2e2e2;
text-align: center;
padding-top: 28px;
font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;



main:



.main 
width: 100%;
padding-left: 225px;
padding-top: 11px;
padding-bottom: 30px;



how can i make this work in all browsers ?










share|improve this question
















the overflow:hidden property is working in google chrome and not in firefox and microsoft edge, i'am using it to give full page height to a sidebar so that it will have the same body height.



Style:



.sidebar 
position:absolute;
width: 225px;
background-color: #4b4b4b;
margin-bottom: -5000px;
padding-bottom: 5000px;
overflow: hidden;



html :



<div class="sidebar">
<div class="nav-item active">
<a class="nav-link border-bottom border-warning Request::path()=='home' ? 'selectioné' : ''" href="home"><span>Dashboard</span></a>
</div>
<div class="nav-item">
<a class="nav-link border-bottom border-warning Request::path()=='register' ? 'selectioné' : ''" href="register"><span>Ajout Compte</span></a>
</div>
<div class="nav-item">
<a class="nav-link border-bottom border-warning" href="*******"><span>*******</span></a>
</div>
<div class="nav-item">
<a class="nav-link border-bottom border-warning" href="/telescope" target="_blank"><span>Telescope</span></a>
</div>
<div class="nav-item">
<a class="nav-link border-bottom border-warning" href="tables.html"><span>Tables3</span></a>
</div>
<div class="nav-item">
<a class="nav-link border-bottom border-warning" href="tables.html"><span>Tables4</span></a>
</div>
</div>


body :



body 
position: relative;
min-height: 100vh;
padding-bottom: 4.5rem;



footer:



footer 
position: absolute;
border-radius: 12px;
right: 0;
bottom: 0;
width: calc(100% - 225px);
height: 80px;
background-color: #e2e2e2;
text-align: center;
padding-top: 28px;
font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;



main:



.main 
width: 100%;
padding-left: 225px;
padding-top: 11px;
padding-bottom: 30px;



how can i make this work in all browsers ?







css firefox overflow sidebar






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 24 at 23:23







Bounaim Mohamed Wassim

















asked Mar 24 at 23:00









Bounaim Mohamed WassimBounaim Mohamed Wassim

32




32












  • can you also share HTML. Thanks

    – Hassan Siddiqui
    Mar 24 at 23:03

















  • can you also share HTML. Thanks

    – Hassan Siddiqui
    Mar 24 at 23:03
















can you also share HTML. Thanks

– Hassan Siddiqui
Mar 24 at 23:03





can you also share HTML. Thanks

– Hassan Siddiqui
Mar 24 at 23:03












2 Answers
2






active

oldest

votes


















0














try this :



.sidebar 
width: 225px;
background-color: #4b4b4b;
position: absolute;
top: 60px;
bottom: 0;






share|improve this answer






























    0














    Remove margin-bottom: -5000px; padding-bottom: 5000px; from .sidebar css and add min-height: 100vh;, i hope it'll resolve your issue. Thanks



    .sidebar 
    position:absolute;
    width: 225px;
    min-height: 100vh;
    background-color: #4b4b4b;
    overflow: hidden;






    share|improve this answer

























    • no, it did hide the body overflow which is bad if you have a long body content that was the problem

      – Bounaim Mohamed Wassim
      Mar 24 at 23:17












    • i just update the above code, i hope it'll help you out. Thanks

      – Hassan Siddiqui
      Mar 24 at 23:52











    • no i did not work same thing overflow is not doing its effect

      – Bounaim Mohamed Wassim
      Mar 25 at 8:30












    • overflow working fine you just need to remove padding, margin and add min-height. Thanks

      – Hassan Siddiqui
      Mar 25 at 10:09











    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55329404%2fwhy-overflowhidden-is-working-only-in-chrome-and-not-in-firefox%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    try this :



    .sidebar 
    width: 225px;
    background-color: #4b4b4b;
    position: absolute;
    top: 60px;
    bottom: 0;






    share|improve this answer



























      0














      try this :



      .sidebar 
      width: 225px;
      background-color: #4b4b4b;
      position: absolute;
      top: 60px;
      bottom: 0;






      share|improve this answer

























        0












        0








        0







        try this :



        .sidebar 
        width: 225px;
        background-color: #4b4b4b;
        position: absolute;
        top: 60px;
        bottom: 0;






        share|improve this answer













        try this :



        .sidebar 
        width: 225px;
        background-color: #4b4b4b;
        position: absolute;
        top: 60px;
        bottom: 0;







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 25 at 8:33









        kisaw88kisaw88

        3818




        3818























            0














            Remove margin-bottom: -5000px; padding-bottom: 5000px; from .sidebar css and add min-height: 100vh;, i hope it'll resolve your issue. Thanks



            .sidebar 
            position:absolute;
            width: 225px;
            min-height: 100vh;
            background-color: #4b4b4b;
            overflow: hidden;






            share|improve this answer

























            • no, it did hide the body overflow which is bad if you have a long body content that was the problem

              – Bounaim Mohamed Wassim
              Mar 24 at 23:17












            • i just update the above code, i hope it'll help you out. Thanks

              – Hassan Siddiqui
              Mar 24 at 23:52











            • no i did not work same thing overflow is not doing its effect

              – Bounaim Mohamed Wassim
              Mar 25 at 8:30












            • overflow working fine you just need to remove padding, margin and add min-height. Thanks

              – Hassan Siddiqui
              Mar 25 at 10:09















            0














            Remove margin-bottom: -5000px; padding-bottom: 5000px; from .sidebar css and add min-height: 100vh;, i hope it'll resolve your issue. Thanks



            .sidebar 
            position:absolute;
            width: 225px;
            min-height: 100vh;
            background-color: #4b4b4b;
            overflow: hidden;






            share|improve this answer

























            • no, it did hide the body overflow which is bad if you have a long body content that was the problem

              – Bounaim Mohamed Wassim
              Mar 24 at 23:17












            • i just update the above code, i hope it'll help you out. Thanks

              – Hassan Siddiqui
              Mar 24 at 23:52











            • no i did not work same thing overflow is not doing its effect

              – Bounaim Mohamed Wassim
              Mar 25 at 8:30












            • overflow working fine you just need to remove padding, margin and add min-height. Thanks

              – Hassan Siddiqui
              Mar 25 at 10:09













            0












            0








            0







            Remove margin-bottom: -5000px; padding-bottom: 5000px; from .sidebar css and add min-height: 100vh;, i hope it'll resolve your issue. Thanks



            .sidebar 
            position:absolute;
            width: 225px;
            min-height: 100vh;
            background-color: #4b4b4b;
            overflow: hidden;






            share|improve this answer















            Remove margin-bottom: -5000px; padding-bottom: 5000px; from .sidebar css and add min-height: 100vh;, i hope it'll resolve your issue. Thanks



            .sidebar 
            position:absolute;
            width: 225px;
            min-height: 100vh;
            background-color: #4b4b4b;
            overflow: hidden;







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Mar 24 at 23:51

























            answered Mar 24 at 23:12









            Hassan SiddiquiHassan Siddiqui

            1,9591715




            1,9591715












            • no, it did hide the body overflow which is bad if you have a long body content that was the problem

              – Bounaim Mohamed Wassim
              Mar 24 at 23:17












            • i just update the above code, i hope it'll help you out. Thanks

              – Hassan Siddiqui
              Mar 24 at 23:52











            • no i did not work same thing overflow is not doing its effect

              – Bounaim Mohamed Wassim
              Mar 25 at 8:30












            • overflow working fine you just need to remove padding, margin and add min-height. Thanks

              – Hassan Siddiqui
              Mar 25 at 10:09

















            • no, it did hide the body overflow which is bad if you have a long body content that was the problem

              – Bounaim Mohamed Wassim
              Mar 24 at 23:17












            • i just update the above code, i hope it'll help you out. Thanks

              – Hassan Siddiqui
              Mar 24 at 23:52











            • no i did not work same thing overflow is not doing its effect

              – Bounaim Mohamed Wassim
              Mar 25 at 8:30












            • overflow working fine you just need to remove padding, margin and add min-height. Thanks

              – Hassan Siddiqui
              Mar 25 at 10:09
















            no, it did hide the body overflow which is bad if you have a long body content that was the problem

            – Bounaim Mohamed Wassim
            Mar 24 at 23:17






            no, it did hide the body overflow which is bad if you have a long body content that was the problem

            – Bounaim Mohamed Wassim
            Mar 24 at 23:17














            i just update the above code, i hope it'll help you out. Thanks

            – Hassan Siddiqui
            Mar 24 at 23:52





            i just update the above code, i hope it'll help you out. Thanks

            – Hassan Siddiqui
            Mar 24 at 23:52













            no i did not work same thing overflow is not doing its effect

            – Bounaim Mohamed Wassim
            Mar 25 at 8:30






            no i did not work same thing overflow is not doing its effect

            – Bounaim Mohamed Wassim
            Mar 25 at 8:30














            overflow working fine you just need to remove padding, margin and add min-height. Thanks

            – Hassan Siddiqui
            Mar 25 at 10:09





            overflow working fine you just need to remove padding, margin and add min-height. Thanks

            – Hassan Siddiqui
            Mar 25 at 10:09

















            draft saved

            draft discarded
















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55329404%2fwhy-overflowhidden-is-working-only-in-chrome-and-not-in-firefox%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

            용인 삼성생명 블루밍스 목차 통계 역대 감독 선수단 응원단 경기장 같이 보기 외부 링크 둘러보기 메뉴samsungblueminx.comeh선수 명단용인 삼성생명 블루밍스용인 삼성생명 블루밍스ehsamsungblueminx.comeheheheh

            155 수학 과학 기타 둘러보기 메뉴eh추가해eh문서를 완성해