Category "html"

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

Flask app can't load CSS file from static folder

So my file directory looks like this: /templates --base.html /static --/css ----base.css In the of my base.html file I have this line: <link rel="styleshee

Make browser back button show login page without error div

I have a Login jsp that takes user email and sends it to servlet. If the email is not in database, the servlet redirects back to Login.jsp with an attribute "er

Icons showing as garbage symbols on refresh of page

I am using some custom icons in my application, as show below. However when I refresh the page, or sometimes on some other action, the icons change to these ga

Best way to protect sensitive information copying in HTML?

The company I work for has a requirement to protect some area where articles are rendered, I've implemented some procedures to protect web-scraping but the prob

how to make one part of a flex div not follow align-items center?

So I got a navbar, and whilst working on mobile responsiveness when I open the mobile menu, the logo moves down with the list towards the center. How can I prev

Firefox alt text appears while loading image

On Firefox if you refresh a page you'll see the alt text appearing while an image is loading. You can see it just on this Mozilla page (check the first image).

Spotify Embed code (iframe) won't work in Markdown

Using React-Markdown on Next.JS, the post pages are stored as Markdown files, but for some reason the Markdown file won't render the iFrame. However if I use a

I want to break table neatly but footer is hiding the text and it is not displaying in the next page also

I'm trying to display footer at end of every page and table is breaking and it's not continued to the next page. Help me how to continue the data to next page a

Matching Cards -Cards don't show correctly

I want to create a matching card game in JavaScript. Firstly,i just want to generate 12 random cards into the body. When I press Start Game,the container is f

how to add dots(ellipses) in between the pagination numbers in jquery

I have a pre-generated html for the pagination numbers , which basically comes from the backend CMS based on the number of items present the html looks somethin

Flask application displaying list of items from SQL database as text

I am trying to display a list of my items from the database in my flask application. Unfortunately, the list elements are placed into the HTML as text, instead

Input field validation in React Js?

I am having a variable (in real app it is api) called data which contains value as nested items. From the level 1 it has title which is displayed already then

Is there a simple way to build an HTML5 Canvas from an already existing SVG? I tried using a converter, but it doesn't resemble the original at all

I'd also like to use JavaScript to manipulate the rotation of certain layers inside the SVG. I use Inkscape, but when I save it as "Canvas - HTML", the transpar