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,188,803
questions
0
votes
0
answers
8
views
Is it possible to set <embed> PDF content from a fetch request?
I have a fetch request that returns a PDF stream:
// from the php code:
public function getPdfContent() {
return response($pdf, 200)
->header('Content-Type', 'application/pdf');
}
And the ...
0
votes
0
answers
14
views
Click position relative to an absolute scaled div
I am trying to find the relative position of the click for an absolute positioned, scaled and translated div. Somehow I am unable get my calculations right. The objective is to create an infinite ...
0
votes
0
answers
10
views
Microsoft.Web.UI.WebControls TreeView not working in modern browsers
I am using Microsoft.Web.UI.WebControls TreeView.cs only in my .net application, this is working fine in IE(compatability mode), now I am trying to make my application to work in latest browsers as ...
-3
votes
0
answers
21
views
How do svg Images stretch and fill? [closed]
I'm writing an html with a temperature indicator here. I've tried a lot of things. I'm using an svg graph with a size of 500px by 20px. I allow it to stretch because it's just a gradient color, but I ...
-1
votes
1
answer
12
views
Where to host video to preserve aspect ration/size (.mp4)
I have a React web application where I'm trying to display a .mp4 video. My current setup looks like this:
<div className="title-main-cont">
<div ...
-2
votes
0
answers
15
views
Woocommerce price tag has html and css code showing | Please help me remove it
Here is the link to the shop where you can see the problem.
https://maveltint.com/magazin/
The plugin causing the problem is WCK Kalkulator but the developer cannot be contacted anymore.
Attaching an ...
1
vote
2
answers
16
views
Best Practices for Nested Optional Checks in Angular Template with Signals
I have a setup in my Angular project where I need to conditionally render a component based on nested properties of an object. Here's a simplified version of the scenario:
projectSignal is a Signal<...
0
votes
0
answers
9
views
Save a file from selector to CPanel storage for VueJS
I am trying to save a file from html file input to my cloudPanel storage so i can retrieve it later if needed via html . I have tried searching for answers but they don't work, as in, the console ...
-2
votes
0
answers
24
views
how to make the moon appear in the header too? [closed]
my header is cutting off my background image how to fix it?
*{
margin:0;
padding: 0;
list-style: none;
text-decoration: none;
font-family: 'Times New Roman', Times, serif;
box-...
0
votes
0
answers
31
views
How to implement zooming a canvas centered on the mouse
Thanks to the Zoom/scale at mouse position question, I implement my zoom/scale canvas. However when handling zooming in and out, this code was used:
offset.x = e.offsetX - (e.offsetX - offset.x) * ...
-1
votes
0
answers
18
views
Bootstrap 5 multiple card slider affiche une seule card au lieu de 4 [duplicate]
I am working on an angular 17 web app and using bootstrap 5 to create multiple cards in a carousel. Unfortunately it's just showing 1 card instead of 4.
The result i am expecting will look like this : ...
-1
votes
1
answer
23
views
How to output PDF string to a smaller portion of the page (or iframe)?
I'm using Spatie Browsershot to create PDF files. Sometimes I don't need to actually save the PDF but just display it in the browser.
I can use the following method to display the PDF in the entire ...
-3
votes
1
answer
18
views
Downloading eBook from Webviewer [closed]
I want to download the book from the folowing link of web viewer. next page of book is available after clicking the flip arrow. Can I download the whole book in Pdf or any other format?
https://www....
-3
votes
0
answers
19
views
Save dynamically loading page as a whole in html? [closed]
I have the following question:
Is there a way (function in javascript, extra add on or similar) to save a dynamically loading page?
Specifically, I mean e.g. with Telegram-Web it is the case that ...
0
votes
2
answers
30
views
How to add a template using {% include %} tag, by comparing which user is logged in, on django?
My asset_list html is like this
<div class="right">
<div class="search-container">
<input type="text" id="searchInput" ...
0
votes
0
answers
11
views
Difficulty adding page numbers to printed table using Paged.js without content overflow
I have a table with numerous elements in its , and I'm attempting to add page numbers to each printed page using Paged.js. However, I'm encountering issues where the table content overflows the page ...
1
vote
1
answer
26
views
How do I change the "Select Language" text in drop-down list of Google translate element to the desired text I want
I have written necessary snippets for Google translate element on my website and I intend to change the "Select Language" text on the drop-down list to "Language". i.e, a desired ...
1
vote
0
answers
18
views
Graph production with search bar
I have a data table with different vegetation anomaly surfaces (surface) (remote sensing) which are classified according to different region names (Nom) and anomaly classes (class).
I would like my ...
0
votes
0
answers
30
views
block printing pdf in css
I'm trying to block webpage printing by adding following css to webpage head section:
<head>
<style type="text/css">@media print { @page { size:auto; margin:.5rem 0; ...
-2
votes
0
answers
28
views
nothing is showing on my webpage when i run my flask program
Im a new coder and i dont know why even though there are no errors, nothing is appearing on my web browser! I am currently trying to create a program which can iterate through different pdf files and ...
0
votes
1
answer
40
views
How can I measure the size of a webpage in different devices?
I'm new with html and css, I'm wondering how can I measure the dimension of a webpage by pixels, is there any specific way like special code or app that I can use?
I tried searching but I somehow can'...
1
vote
1
answer
30
views
Why does a div with display: block (default) not expand to vertically fit an image without overflow but changing it to display: inline-block does? [duplicate]
I have a div with a background color via background-image:linear-gradient, and with the div's default display as block it doesn't expand vertically to fit the image, the image overflows over the ...
-3
votes
0
answers
18
views
Can users customize their profiles and preferences on Stack Overflow, and if so, how extensive are these customization options? [closed]
understand the degree to which users have control over personalizing their experience on Stack Overflow. It aims to explore the range of options available for users to adjust their profile information,...
0
votes
0
answers
23
views
How can I troubleshoot Django POST request issues despite correct form handling?
I'm having an issue in Django where when I click save on a form, it sends a GET request instead of a POST. I'm not sure why this is happening.
Hola, estoy con un problema en django, que cuando apretó ...
0
votes
1
answer
32
views
Unable to type texts to chatbot user input
Description
I am trying to add a chatbot for the backtesting platform built with Flask and there is a button on the right side that toggles the sidebar. If the user clicks the button, it shows the ...
0
votes
0
answers
14
views
"The buffer passed to decodeAudioData contains an unknown content type." Error React
Started working on a project last night, woke up to work on it today, and I'm randomly getting the error: "The buffer passed to decodeAudioData contains an unknown content type.". Nothing ...
0
votes
0
answers
22
views
Implementing Background Colors in Bootstrap vertical tabs and forms
In working on a project recently, I have noticed that I am limited to backgrounds solely outlined in bootstrap files and sites. I want it to match the existing color of the background according to my ...
-1
votes
4
answers
39
views
Why isn't the following text being collapsed into a ellipsis?
This is the code:
<div class="grid w-full gap-4 grid-cols-8">
<div class="flex w-full flex-col gap-1 justify-center items-center max-w-small cursor-not-allowed"><...
0
votes
1
answer
41
views
how to show select option list on hover?
<div className="rating-option">
<select
id="rating"
className="rating"
value={...
1
vote
1
answer
16
views
Why does backdrop-filter: blur break whenever unrelated elements are animated
I'm building a website, and use the backdrop-filter: blur(12px) CSS effect on my navbar. Whenever I created a CSS animation to animate the text on my page, the blur filter disappeared. This affected ...