Skip to main content

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.

0 votes
0 answers
5 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 ...
1 vote
2 answers
806 views

Thymeleaf th:each access parameter in loop

I am trying to superscript a number in a html-table which will be displayed in an E-Mail. my code so far is the following: <th:block th:each="param, rowStat: ${someList}"> <th ...
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<...
7 votes
6 answers
10k views

JavaScript - Highlight an element on Hover

I'm trying to write a JavaScript which will highlight an element in the DOM when the user hovers over it. This is supposed to be a cross-browser external plug-in. Ideally, i'm trying to mimic the ...
63 votes
10 answers
62k views

Flag Emojis not rendering

I have a dropdown menu on my header that I use to display phone numbers for different countries and I need to put a flag on its side, but no flags are showing, only the letter representation of the ...
0 votes
0 answers
8 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 ...
0 votes
1 answer
9 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 ...
0 votes
1 answer
107 views

Norwegian characters not rendering in a Quarto Book

I am trying to render a Quarto book from RStudio and the Norwegian letters (Å,å,Ø,ø, Æ,æ) do not render correctly. The book is here. Does anyone have any ideas how to make the letters render correctly ...
-2 votes
0 answers
18 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 ...
19 votes
6 answers
4k views

Why is Google Chrome not printing table and cell borders, and cell background colors?

I'm maintaining a Web Application created using GWT, and which historically was developed to work only in Google Chrome. There are several "reports" that can be extracted from the system. ...
0 votes
3 answers
367 views

Links underline not showing in unordered list on mobile devices

I customized my links appearance with an purple after pseudo element: body { background: black; font-family: sans-serif; color: white; } li { margin-bottom: 0.3em; font-weight: 300; ...
7 votes
4 answers
13k views

What is a fallback for the "hamburger icon" or HTML entity &#9776;?

I have this as my menu bar for the site when viewed on tablet: The menu icon on the right shows other options when clicked. The code is <div id="menu"> <a id="metaMenu" href="#">&#...
1 vote
2 answers
11k views

click a menu option using selenium

I have a menu dropdown like this. Using selenium i need to move the mouse to menu item Documentation and click the option App Configuration from that. mouse hover is working fine.But am not able ...
-1 votes
0 answers
14 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 ...
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) * ...

15 30 50 per page
1
2 3 4 5
79287