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 6 years ago.
Improve this question
Here is the link to the page in question:
http://ollapodridawhatuneeda.com/video_viewer2.html
I want space above the video viewer screen, but so far adding margin or padding to the various containers has only resulted in pushing the entire content div down. I want to keep it blue above the video viewer, not white. thus far I have only accomplished pushing the container down while leaving a white band above it, which is not the effect I want.
Any ideas?
Barry Glick
One way to achieve your task is you can add:
padding-top: 100px;
for the <div id="content">, so your new CSS would look like:
#content {
width: 960px;
height: 1000px;
background: #9CC;
margin: 0 auto;
padding-top: 100px;
}
This will push the video container down.
There are two possible methods, depending where you want the distance (just try it):
1.) Add margin: 100px; (or whatever value) to #videoContainer (will add above the light-blue area)
2.) Or add padding-top: 100px; to #content (will add inside the light-blue area)
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 1 year ago.
Improve this question
I'm modifying a Shopify template but my CSS knowledge is limited and I'm stuck with this problem for hours already.
When I put margin: 3rem 0; in .slick-slider, it works but whenever the page loads, the card stacks jump to new positions.
When I put margin: 3rem 0; in .featured-products, the card stacks stay in their positions but the glow is stopped like the first photo. Also, the titles disappear when I put top: -30px; into .widget-title.
I really appreciate if you could show me how to make it work!
You're looking for padding, not margin.
I navigated to your sign and used the login credentials you provided, added some padding-top to the cards in the chrome dev tools, and the glow had more room at the top.
Specifically:
.grid-item {
padding-top: 3rem;
}
Here, .grid-item refers to the children of .products-grid.
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 3 years ago.
Improve this question
I've a page and in a particular section I'm seeing and extrange white space beneth the footer.
I was wondering what could be possible be happeing as it only happens in this seccion of the website:
https://stickersgallito.pe/carrito_de_compras/
Selected it says it is outside the HTML tags:
It's happening because the content of the page is not enough to fill the viewport/screen-size.
So If you add a few more contents to this page, it will solve your problem.
If you don't have more content & want to show footer at the bottom of the page, here is the solution:
#footer-navbar {
background-color: rgb(239, 239, 239);
position: absolute;
width: 100%;
bottom: 0;
}
Use this CSS only on this page.
Thanks
Take a look at your footer-navbar selector. You have an odd margin applied to it that is forcing that section rather than letting it flow properly.
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 4 years ago.
Improve this question
I am using 100% and margin:0; but still google map coming width it's extra with and page is fluiding when map is open.
#map {
margin: 0;
width: 100%;
display: none;
height: 400px;
}
This is what i am using for map. but still,
it's look like this at the right side of the page.
The parent element which contains #map might be having some extra width. To confirm, please try to give a fixed pixel width to #map and check if that solves the problem. Might be able to help you more if you could share your HTML code.
#Barbie
You can hide Extra space by just giving a property.
Also extra map isn't important as well.
:
overflow: hidden;
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
As a novice web developer I've been trying to build myself a personal webpage from scratch. However I've encountered a problem.
Here's my webpage, it looks ok but when you click any of the links on the left side, and turn a # to display:block from display:none you can see the "bleeding" on the bottom.
I have no idea why this happens, so I'm linking my repo which contains the html and the css for the page.
Put a simple CSS in your Canvas Tag
style="position:fixed"
and its Done
If I understood your question you want to remove the green band at the bottom of the page.
It comes from your background-color:
body {
/* background-color: #A7DBD8; */
}
Juste remove it and it's ok ;)
Remy
Changing the style on the canvas element from
display: inline-block;
to
display: block;
fixes this.
Delete the :
<div class="footer">
from the index.html because you're not using it
Your panes are a fixed width and height: 620px, 500px respectively. If you add padding-top: 100px to a pane (as you did with #links div), it will increase your height to 600px and push things down.
The quick fix is to, instead of adding padding-top: 100px to your #links div, add it to the first paragraph in your #links div.
#links p:first-child {
padding-top: 100px;
}
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;
}