Questions tagged [html]
HTML (HyperText Markup Language) is the markup language for creating web pages and other information to be displayed in a web browser. Questions regarding HTML should include a minimal reproducible example and some idea of what you're trying to achieve. This tag is rarely used alone and is often paired with [CSS] and [javascript].
1,062,483
questions
0
votes
0answers
4 views
Moving Chrome extension to Tampermonkey // Greasy Fork
Good night, everyone. I'm trying to move a chrome extension that consist basically on a script, to Tampermonkey, as a single script. But is not working. The script is as follow:
chrome.webRequest....
0
votes
0answers
3 views
How do I vertically overlap divs if I'm sizing them using height percentages?
I'm using Bootstrap 5.0.0 Beta 2. I have a stack of image wrappers that occupy 100% of the height of the parent container in order to maintain relative heights/sizes. Each of the first wrapper class, ....
0
votes
0answers
7 views
displaying a color instead of none
I would like to ask if on how do I change the background of the page.
So instead of using display: none; I want to change the background into blue. But every time that I use background-color: blue;the ...
0
votes
0answers
10 views
Sending location to the database directly
I have a script that allows to get the position (latitude & longitude) and after that it gets inserted in the input!
<script>
function maPosition(position) {
var x = position....
1
vote
1answer
8 views
How do you scroll a set number of pixels past an object?
Suppose I wanted to scroll to an object, but I wanted it to go, say, 50 pixels further. I know the following would work:
document.getElementById("foo").scrollIntoView();
document....
1
vote
1answer
10 views
move image to center in popup modal
I am using a Popup modal component from the reactjs-popup library. I want to place the charts image (three charts in 1 image) at the center of the popup but properties like align-self dont seem to ...
1
vote
0answers
6 views
How to convert HTML page as well as a Table using jsPDF and Autotable
I've found a lot of information online regarding either JSPDF or Autotable but none that combine both, all I am looking to achieve is to use the ID of the main DIV to generate a full HTML page PDF ...
0
votes
0answers
10 views
I am creating a game with a database api that saves a username and password
I am creating a game with a database api that saves a username and password but when it tries to fetch it gives me this error
Access to fetch at 'https://sign-in-if-ur-kool.herokuapp.com/users' from ...
1
vote
1answer
15 views
unable to add a border to popup modal
I am using a Popup modal component from the reactjs-popup library.
export default () => (
<Popup
trigger={<button className="button"> Guide </button>}
modal
...
0
votes
0answers
9 views
what will be the code to get the screen as mentioned in the image?
this is the sample screen. I have searched the code but couldn't found the right one. kindly click the link to see the image
0
votes
0answers
17 views
How do I dynamically edit the html and css of a website that is NOT mine using javascript?
I'm trying to make a script that highlights certain divs/creates new divs on chess.com, a widely used website; this will be used to highlight moves that are suggested by an engine I will be making. I ...
0
votes
0answers
7 views
Better parity between Chrome and Firefox vertical text centering
Given the following:
.so-teal {
background-color: teal;
border: solid 1px black;
}
<span class="so-teal">
I am some text in Firefox
</span>
Firefox and Chrome come to ...
0
votes
3answers
22 views
Having trouble getting an ul to print in PHP
So basically I am trying to create a loop that will pull files out of my song folder and display them on the webpage in an unordered list. I can get the loop to spit out all of the songs and now im ...
1
vote
1answer
11 views
Retrieve certain bootstrap card information from a group of bootstrap cards with JavaScript but always retrieve information from first card
I have a group of bootstrap cards. When i click a button in a card always retrieve information from thirst card. document.querySelectorAll('.fa-bookmark') works properly but document.querySelector(&...
0
votes
1answer
11 views
Mobile slide menu goes under text / Text goes over ul when I press on icon
enter image description here
How can I make the text go under when i press the hamburger(menu) icon.