Category "html"

CSS tabs with rounded base (smooth base transition) [duplicate]

Hi I am looking for the most efficient way to create a "tab" with HTML/CSS with rounded corners but also a smooth, rounded transition to the b

How to apply min and max on textarea?

Is there a way in HTML5 forms to add a min and max character to a textarea? It seems I can apply it to a regular input using pattern. <input pattern=".{3,}"

JavaScript Scale Text to Fit in Fixed Div

In JavaScript/jQuery, how can I scale a varying-length line of text inside a fixed-width Div so that the one line always fits inside the Div (as one line)?

Chrome doesn't support `font-family: "Arial Bold"`?

In Chrome v75 Windows 10 font-family: "Arial Black" works, but font-family: "Arial Bold" doesn't. They both work in Edge. I know I can still use font-weight.

How to call a REST web service API from JavaScript?

I have an HTML page with a button on it. When I click on that button, I need to call a REST Web Service API. I tried searching online everywhere. No clue whatso

How to call a REST web service API from JavaScript?

I have an HTML page with a button on it. When I click on that button, I need to call a REST Web Service API. I tried searching online everywhere. No clue whatso

Text Animation Glitches on Small Screens

Looking at the following codepen: https://codepen.io/codeams/pen/Ksbcz, I noticed that the animation would glitch if you shrank the window (i.e., the text wraps

Warning: sqlite_query() expects parameter 1 to be resource, string given

I've looked all over the place and cant find a solution that helps my case. I hope someone can help? I have this and receive Warning: sqlite_query() expects pa

{% load static %} Shown as a text line in html opened on browser

Im trying to use templatetags, but when i write {% load static %} on top of html document and run, it takes this as a text, and does not load the static. I set

HTMLParser.HTMLParser().unescape() doesn't work

I would like to convert HTML entities back to its human readable format, e.g. '&pound;' to '£', '&deg;' to '°' etc. I've read several posts r

How to I bring my sticky navbar in front of the contents on my page?

I'm using wordpress and bootstrap and I have a a navber that sticks to the top of the page when scrolling, problem is it falls behind some of the contents on th

Text Animation Glitches on Small Screens

Looking at the following codepen: https://codepen.io/codeams/pen/Ksbcz, I noticed that the animation would glitch if you shrank the window (i.e., the text wraps

Pixel Depth vs. Color Depth

The question is, what is the difference between color depth and pixel depth? Searching Pixel Depth on google simply give links to Color Depth. Even the dicti

PHP file_get_contents function

I am developing php-based websites. When I try to load a file from the same directory using file_get_contents, the server did return some string, but php code o

How to visualize a v-chart in an v-for where each object is the data of the v-chart?

I want to generate dynamically some v-charts from Echarts in a v-for. The data for the v-or is comming from the vuex store and is correct. I get a dictionary,

loop through an anchor id

I apologize is any of this does not look right, it is my first time asking a question on this site. I am creating a webpage using html, css, and php. Specifica

How to run JavaScript code when a form is being reset?

I know we can attach a handler to the form onsubmit... But how can we add a handler to the form reset event? (usually when clicking on <input type="reset">

jQuery: Check to see if table row containing certain values exists already

I have a jQuery script that appends a row to a table. In short, the user can select a value from a drop down menu, then enter in 'x' amount of months and hits '

How do i remove the blue outline from a radio box when focused?

I would like to remove the blue outline it gives me when my radio is clicked/focused. I tried using outline: none and border: none, but nothing seems to be work

Appending data to an anchor tag

i am new to PHP , i want to append data like query string and data i will recieve by $_GET[] or $_POST[], but have facing a problem i have done something like