1,187,194 questions
0
votes
0
answers
7
views
How to set table column width to django admin list_display?
I want column foo (TextField 2500 chars) to have a width of 30% in admin view.
Yet whatever I try, the columns widths remain equal (50% / 50%).
td.foo {width: 30%;} has no effect at all.
admin.py:
...
-1
votes
0
answers
7
views
Next.js yt iframe background video not autoplaying on IOS
<iframe
onLoad={() => setVideoLoaded(true)}
className={`absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[100vw] h-[56.25vw] min-h-[100vh] min-w-[177.77vh] ...
-1
votes
0
answers
36
views
Implementing pagination for API results
I am building a web application in Go (using the standard net/http library) that fetches a list of popular films from the TMDB API. Currently, I fetch and display all films at once, but I want to ...
-3
votes
0
answers
49
views
Using JS to fetch HTML with nested elements as string and append it to the DOM causes nested elements to be dropped [closed]
I had the idea to crate a few Javascript functions to help me create web pages faster by reusing HTML snippets and dynamically building the pages. I am aware that this is solved already by quite a few ...
-2
votes
1
answer
44
views
Error 153 Video player configuration error
I know this question has asked before, but none of the suggested fixes work for me.
Embedding a youtube video in HTML still doesn't seem to work and I get a error.
With:
<iframe width="560&...
0
votes
2
answers
39
views
I can't get the clickable area padding to apply to the link, it only applies to the text inside
I’m having trouble trying to get the padding area to open the blog post, but it only applies to the text inside. No matter what I do, the padding doesn’t seem to affect the clickable area of the post ...
-1
votes
0
answers
47
views
Why pictures are sometimes either too large or missing in the email body using python [closed]
I am using python to render pictures (JPG or PNG) in email body:
def image_file_to_base64(file_path):
with open(file_path, "rb") as image_file:
base64_obj = base64.b64encode(...
0
votes
1
answer
35
views
Selenium/Python: Trying to display choices in a dropdown menu
I have a similar question that's being worked, but I made an error and I don't think editing the other question makes sense as it requires a complete rewrite and would make the original question (and ...
-1
votes
1
answer
47
views
How to scale down my slider so it has space around it
I am trying to give some blank space around this slider I made for a medical marijuana grow facility website.
I can't tell if what i'm asking for is impossible because of how I have set up this slider ...
-1
votes
1
answer
25
views
Filtering-out URL parameter on HTML page before they are sent to analytics
I have a webpage which can be called with extra parameters. Some users add sensitive data to the URL.
e.g. https://my-web-page.com?code=123&user=mike&pwd=my_password
There are also multiple ...
0
votes
0
answers
43
views
Why does my Angular server table data pulled from an Observable from MongoDB database display only every other edit to the HTML file?
I am working on a MEAN stack web application but I am having issues with getting the administrator single page application to consistently show the table data in a *ngFor loop. On first load up the ...
1
vote
2
answers
62
views
How do I stack my website logo on top of the navigation bar list
I have a logo and a series of four nav bar unlisted items. I want to put the logo above them, centered and have the four nav bar items also be centered underneath the logo.
Copied below is my Html (...
-3
votes
0
answers
49
views
Form Input Not Responding to CSS Color or Border [closed]
On my website I've set up a form for people to be able to email me, and I'm trying to adjust the CSS so it visually meshes with the rest of my website better, and while the css I've implemented to ...
-3
votes
0
answers
30
views
Html Template for Outlook Email Spacing Issue [closed]
I have a html template for an outlook email that is being built using a html table. In one of my table headers I have an img tag and a span tag. I am able to style the image correctly, but the text in ...
0
votes
0
answers
26
views
Loading individual txt files on a separate iframe page [closed]
Sorry if this has been answered before, I'm not entirely sure how to word this question.
So far, I have an index page with links and another page with an iframe. Ideally, I'd like to click the links ...