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 have a HTML5 form which does some calculations using jQuery.
I found an issue that I had never seen before - if someone can figure out why and from where it is coming - when I enter data in the input fields, they move up, and the span element - which is the result moves down:
bit.ly/1xXEEa0
Applying float:left for the inputs will fix the issue.
input {
width: 33%;
min-height: 30px;
float: left;
}
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 2 years ago.
Improve this question
I am using the Hero Image example code from W3Schools and the Bootstrap Navbar, and they won't connect. Like there's a little space in between filled with background color. StackOverflow wouldnt let me post the code here because it was too long, so here are the links:https://www.w3schools.com/howto/howto_css_hero_image.asp
https://www.w3schools.com/bootstrap/bootstrap_navbar.asp
https://kalpact.repl.co
Your navbar has an explicit bottom margin, coming from navbar.less:.
.navbar {
margin-bottom: #navbar-margin-bottom;
}
Ideally, you should find where "navbar-margin-bottom" is defined and change it to 0. But... I've searched for that definition and can't seem to find it anywhere. You may have to just add this to your main stylesheet:
.navbar {
margin-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 3 years ago.
Improve this question
I'm currently working on this website http://www.test.yanosp.com/, but when I click the Back to Top button on the bottom of the page, the page gets white. How do I get rid of it? Thank you.
I inspected your pagetop__link class and found that in the "http://www.test.yanosp.com/wp-content/themes/lionmedia/style.css" file, where you define that class in the stylesheet, you have the following selector:
.pagetop__link:active::before {
background:rgba(255,255,255,0.9);
z-index:9999;
}
Get rid of the line background:rgba(255,255,255,0.9); and it should work.
remove .pagetop__link::before {position: fixed} solve the problem
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 can't figure out where the chain link image is coming from on my blogger page (http://jareds94-wine.blogspot.com). Using Google Chrome's inspect feature I can see that it has something to do with hentry::before but it's not coming from the CSS so it must be coming form a javascript file right? Any help would be much appreciate as I'm trying to change it to another image.
It's not a bitmap image, but a character from the font awesome toolkit
.hentry:before {
content: "\f0c1";
z-index: 2;
font-family: FontAwesome;
}
Here \f0c1 relates to the character in the font which renders as a chain link
That "Image" is actually just a glyph supplied by FontAwesome.
It is being generated by your css like so:
.hentry:before {
content: "\f0c1";
z-index: 2;
font-family: FontAwesome;
}
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
How to change value of element.style.fontSize? I have the font HTML element with inline style font-size: 20px; how do i change size of this using JS? Getting this by element.style.fontSize will give "20px" not just 20. So how can I get rid of "px"
You can use parseInt, it will remove the px
var rozmiar = parseInt(divek.style.fontSize);
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 can't get a button to change color on hover. Can anyone help here?
Pretty simple stuff. In the future please add the code you are having trouble with in your question, so it will be easier for us to help.
CSS:
.btn {
background:#fff;
}
.btn:hover {
background:#f00;
}
HTML
<button class="btn">Button</button>
There are several ways to make a button. I'm guessing you're not styling the right one.
input[type=button]:hover,input[type=submit]:hover,button:hover
{
background-color: red;
}