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
7
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
13
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
21
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" ...