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;
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
add a comment |
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
can you also share HTML. Thanks
– Hassan Siddiqui
Mar 24 at 23:03
add a comment |
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
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
css firefox overflow sidebar
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
add a comment |
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
add a comment |
2 Answers
2
active
oldest
votes
try this :
.sidebar
width: 225px;
background-color: #4b4b4b;
position: absolute;
top: 60px;
bottom: 0;
add a comment |
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;
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 removepadding,marginand addmin-height. Thanks
– Hassan Siddiqui
Mar 25 at 10:09
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
try this :
.sidebar
width: 225px;
background-color: #4b4b4b;
position: absolute;
top: 60px;
bottom: 0;
add a comment |
try this :
.sidebar
width: 225px;
background-color: #4b4b4b;
position: absolute;
top: 60px;
bottom: 0;
add a comment |
try this :
.sidebar
width: 225px;
background-color: #4b4b4b;
position: absolute;
top: 60px;
bottom: 0;
try this :
.sidebar
width: 225px;
background-color: #4b4b4b;
position: absolute;
top: 60px;
bottom: 0;
answered Mar 25 at 8:33
kisaw88kisaw88
3818
3818
add a comment |
add a comment |
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;
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 removepadding,marginand addmin-height. Thanks
– Hassan Siddiqui
Mar 25 at 10:09
add a comment |
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;
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 removepadding,marginand addmin-height. Thanks
– Hassan Siddiqui
Mar 25 at 10:09
add a comment |
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;
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;
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 removepadding,marginand addmin-height. Thanks
– Hassan Siddiqui
Mar 25 at 10:09
add a comment |
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 removepadding,marginand addmin-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
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
can you also share HTML. Thanks
– Hassan Siddiqui
Mar 24 at 23:03