Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 1 year ago.
Improve this question
After checking examples and trying one of them for myself, I have realized that there's a blank hole that appears under the sidenav. It's probably not related with sidenav, but after you click the menu icon on the top-left most corner, (after sidenav opens) there's huge blank hole appears at the bottom of the page and I couldn't find the reason for that behaviour.
Here's the stackblitz link for that:
https://stackblitz.com/edit/angular-material-sidenav-generate-nav
Thanks for any explanation, have a good day.
you missed to add css to your <mat-sidenav-container> like in Material example :
.example-container {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: #eee;
}
Related
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
I have unwanted space at bottom of the page. Cant figure out whats the problem.
I also searched for this tried every answer but no solutions
Its the height from hidden sub menu from the nav.
It's being caused by the length of the "Electrical equipment & parts" section of your product menu. You'll notice that the page height exactly matches the height of that part of the menu.
Also, in the 'Chemicals' section of the products menu, "Anti-Corrusions" is misspelled. "Anti-corrosion."
The first problem is that you have a min-height: 800px css rule set on your body tag -- get rid of that to start. The problem you'll have after that is that you want your footer to stick to the bottom of the page. You can do this by adding:
.blog-list-page {
position: relative;
min-height: 100%;
}
footer {
position: absolute;
width: 100%;
bottom: 0;
}
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
Hi I currently have a nice responsive slider setup but the captions are pushed below with a 'Find out more' button also below.
I just wondered if anyone can see how to adjust this so the button and text is over the images revolving round please?
http://newsite.poppletoncentre.org.uk/index.php?id=4
You need to add this CSS to container
left: 0;
position: absolute;
top: 0;
z-index: 10;
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
I building a website with HTML and CSS as part of an exercise. However, I have stumbled across some odd space I need to get rid of. Inspecting the webpage, it seems like there is extra empty content being displayed above my images. This happened after I added navigation arrows.
If anyone have any suggestions on how to deal with this situation I'd be very happy.
The website is as following: http://folk.ntnu.no/nikolahe/gloshaugen/gloshaugen.html
html: http://pastebin.com/micJCBq1
css: http://pastebin.com/WW9i52qc
Suggestions towards layout and good practices are also much appreciated.
This happens because you use position:relative on the #previous and #next elements. Like this they are repositioned but still use up the space they would originally occupy.
Use the following css instead:
.block-wapper {
position:relative;
...
}
#previous {
position: absolute;
left: 10px;
...
}
#next {
position: absolute;
right: 10px;
...
}
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
I've a static site made with html / css and there's a huge gap after the footer . I spent hours to find what the issue is , but I couldn't find . Down below is my Site .
http://ganidu-cyberholic.com/grill/
I've just checked your code. The Problem is you have used position:relative instead of position:absolute. Always remember that whenever you wrapping two elements in the html at that time use position:absolute
Make modification in your CSS like following:
.dotline {
left: 80px;
position: absolute;
top: -315px;
}
.dotbg {
left: -660px;
position: absolute;
top: -750px;
z-index: 0;
}
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
I am trying to implement a z-index on a menu sub-item show that it appears to be on top to the footer but i cant seem to get it to work. And im have trouble especially on mobile devices for menu items lower on the screen.
How can i solve this. Here is a link to the site
try this
#ef-footer {
bottom: 0;
left: 0;
line-height: 1.1em;
right: 0;
/*z-index: 35;*/
}
You need to set z-index:0; on the footer or just delete that z-index.
#ef-footer {
position: fixed;
z-index:0; /* add this */
}