1,187,244 questions
0
votes
0
answers
19
views
Browsers don't recognize javascript function
I am migrate a home site from Windows to Linux Debian and Nginx.The HTML code was working under Windows.
Here the part of the HTML code, where I try to call a Javescript function, which is included in ...
0
votes
0
answers
28
views
Focus border on grid cell with overflow: hidden
I'm trying to draw a focus border on a grid cell.
First, I tried outline with offset. Almost perfect, but left and top borders aren't covered.
Then I tried with box shadows (also with inset). Here I ...
0
votes
1
answer
61
views
How to remove a css border from a twitter embed?
There is a grey border around all embeded tweets but I want to remove it and add round corners too. But because its in an iframe i have no idea how to remove the border.
<blockquote class="...
-3
votes
0
answers
55
views
how do I response partial html with fetch [closed]
I response posts in partials html with fetch, but each time get posts from server also return current page header. i just want to get header first.
partial html(server responses it when requested with ...
-1
votes
2
answers
72
views
How to get 100 small viewport height in Javascript?
I have an asset that has to be statically sized based on viewport height. The problem is that for some mobile browsers when the navigation bar hides, the asset changes size, because the height of the ...
-3
votes
0
answers
36
views
How to store and match user-selected words with their different forms across texts? [closed]
I want to build a program where a user can input any text they want to study.
While reading, the user can select certain words. Each selected word should be stored in a dictionary or list.
Later, when ...
1
vote
1
answer
55
views
jquery each function works just on first item
I use this lightweight plugin to display text continuation on hover :
https://lukifer.github.io/HoverForMore.js/
I am using the jQuery each function to call all items and run this plugin on each one, ...
-8
votes
0
answers
44
views
My text won't break correctly when using CSS left property [closed]
I have a problem with my website.
I use css left to give my text a margin to the left of the page. When I use that though, My text will overflow off the page to the right a bit instead of breaking at ...
Advice
0
votes
1
replies
39
views
Use items from local storage to pre-populate a webform
I am new to HTML, CSS and Javascript.
I am building a website that has a shopping cart feature and I am able to list my products, and and remove to the shopping cart and have the UI update the ...
1
vote
3
answers
80
views
White page when I use setTimeout
I created an intro/splash screen component that should display for 5 seconds and then automatically navigate to the login page.
The strange thing is:
If I don’t use setTimeout, Angular correctly ...
2
votes
1
answer
39
views
CSS in a Help Text for a page item gets applied to other page items in Oracle APEX
I have defined the following Help Text for a drop down list on a page in oracle APEX :
<html>
<style>
table, th, td {
border:1px solid black;
}
</style>
<body>
<table ...
0
votes
1
answer
80
views
How to Dynamically Detect 2nd Page and Dynamically Insert Header on PDF from HTML Template in Python
I am building a webform to PDF utility. Flow is user submits things in form and then submits and a generated PDF opens in new tab.
Problem is sometimes the content of the form can be long and it can ...
-1
votes
0
answers
59
views
Displaying full-page heatmap in iframe without coordinate mismatch [closed]
I’m trying to create a heatmap. When a user clicks anywhere on my website, I track the x/y coordinates and save them to the database. In my dashboard, I load the website inside an iframe and display ...
-1
votes
0
answers
49
views
Set Font Size of <a> tag in WordPress [closed]
I am new to WordPress. I am trying to figure out how to increase the font size of this "line" as you can see how the underlined portion has smaller font size than the paragraph above. The ...
Advice
0
votes
4
replies
107
views
How can a CSS animation transform scale start from where a transition left off?
I have an HTML div that contains a photo, amongst other things. This div is movable by the user with a click and drag. When the div is clicked (:active), after a slight delay, I have it grow slightly ...
Advice
0
votes
7
replies
83
views
Is it possible for JavaScript to detect other tabs
Is it possible for JS in Tab A to detect if Tab B is Google, for example, or any other type of tab. And if so , could it close Tab B using JS?
0
votes
1
answer
98
views
Animate a div between width constrained and a height constrained, also keeping the same aspect ratio as the img
I have a div containing an image. The image is user supplied so it can be tall or wide or square. By default I want to keep the image at a fixed 36px height, its width expanding as needed according to ...
0
votes
0
answers
81
views
Creating a scrolling diagonal carousel with N images
I have a carousel of images, which I have tilted diagonally, and now I want to scroll through the images. The only problem is that if I add more images to the carousel track than the four I have, the ...
0
votes
0
answers
37
views
CSS is not being applied correctly in Outlook Classic on macOS [closed]
I am experiencing an issue where the CSS of my email template is breaking on MAC devices that use Outlook Classic. I have tried adding some validations such as the following:
<!--[if mso]> ...
Best practices
0
votes
1
replies
22
views
What would the correct HTML5 elements/aria-roles for a drag-and-drop UI?
I want to implement an interface where some "slots" start out empty and can be filled with "objects". Something roughly like:
My question is, what would the correct aria-role (or ...
Advice
0
votes
2
replies
52
views
How to obtain HTML DOM from markdown?
I have some markdown text.
I use MarkDig to parse the markdown text and obtain a markdown-document-object-model. (markdown-DOM.)
From that, I want to obtain an HTML-DOM.
As far as I can tell, the only ...
0
votes
0
answers
30
views
Why range.startContainer gets different results when I click inside or outside the img?
class Editor {
docContainer
text
constructor(posContainer) {
this.posContainer = posContainer
this.genComponets()
this.listen()
}
genComponets() {
...
-2
votes
0
answers
46
views
React app only shows the content of index.html [closed]
I'm trying to run a simple React app but when I run npm run start all the app shows is the content of index.html:
<!DOCTYPE html> <html lang="en"> <head> <meta charset=&...
3
votes
2
answers
119
views
Is there a way to target a pseudo-element in CSS by its class?
I am looking to construct CSS to target this element...
<input type="button"
pseudo="-webkit-media-controls-play-button"
aria-label="play"
...
0
votes
2
answers
85
views
Why can't I increase the visual width or height of an <input type="range"> without breaking its layout?
I’m working with an <input type="range"> element, and I’m having trouble customizing its size.
When I try to increase the height, the slider doesn’t actually get thicker, it just moves ...