Category "html"

Difference between an HTML and a PHP file

I have to query a mysql database using php, but a file with the .html extension for example my index.html does not recognize the <?php ?>. Now I have inde

Django forms not valid

I am using custom django forms. It seems that my form is not valid. I can't find the error. Could you help please?? signup.html`

Element: before same height as parent without position: absolute

I'm trying to add a custom text layout in a div by using shape-outside and clip-path. It does work as intended except one thing - parent height is not fixed so

Web Scrapping Selenium , Multiple pages and product issue

i am doing scrapping using selenium but not able to get all the href of 25 pages and all 626 products listed by getting all the href of products and multiple fe

How to redirect to another page and call a Function there on Angular ng-click

I have a page where I toggle between areas using angular functions onclick at home.php like <button class="btn btn-success btn-lg span6" ng-click="settingMa

How to Change TablePress row length for admin page

I am using a TablePress of wordpress library and try to display 100 rows per page in admin account , Not user page. How can i do that ?

reload the background image from CSS file (JS)

I have a CSS file that contains a background image: in this case it's an animated PNG. This APNG has loop 1, meaning it only plays one time. I have it working t

I’m having trouble finding the bug

I am trying to line up this list item directly underneath the hours div tag. My list item is pushed just a little to the right, and I cant seem to find out why.

What does "hydration mismatch" mean in React or Vue?

While using both Vue and React, I regularly stumble upon so-called "hydration mismatches". What does it mean?

Next.js: Error: React.Children.only expected to receive a single React element child

I'm having a component called Nav inside components directory and it's code is some thing like below: import Link from 'next/link'; const Nav = () => {

How to create a simple post like facebook without using a database and stack it together, With only HTML, CSS, & JS?

Greetings, I need some help again. I am creating a simple webproject and I want to share it with my friends. I just want to know, It's possible right? "How can

`pymdownx.highlight` --- where do I find the "highlight" stylesheet used by syntax highlighting on fenced blocks?

I've been trying to write a Flask app which automatically converts Markdown into an HTML that will get served as the response. Consider the following toy snippe

Reproduce HTML footer

I'm having a problem with a footer in HTML: I want to do a footer like this: Does anyone have a suggestion?

How to set maximum line of text using flex css react

I'm having a screen like this But it look actually not so good if the title or author is so long, so i wonder how can i set maximum of text line to fixed numbe

Paste an image from my clipboard on an html widget (Odoo 10 Community)

When I paste an image from my clipboard to a text or html type field with widget="html" its duplicated the image. Like this. The browser console does not show a

Focus a specific mat-option item when mat-select dialog is opened?

I want to focus to an option(scroll to an option) automatically when mat-select is opened. I thought that with a little bit of search this will be solved easily

Convert double asterisk to bold tag

I want to turn **test** into <b>test</b> I've tried: const result = "**str**".replace(/\*/g, "<b>"); console.log(result);

Styling nested table position

I need to have a card as below: So I wrote the below code .box { border: 1px solid #CCC; padding: 40px 25px; background: #FFF; max-width: 9

Large File upload issue (working in local but not working on server)

I have a Django-based application that has the functionality to upload the file. We used to deploy the same in the azure web app. For the small file (max file s

Electron shows blank window

My HTML file isn't loading at the tutorial says it would've. This is what I have. Yes, I've tried doing all sorts of funky stuff involving paths and it doesn't