Category "css"

How to break a long word in a table TD element?

Here I have a table in which I want to break a long word into multiple lines by changing its cell width (e.g. as 20px), like below: <table cellspacing="0" ce

How to find exact length of pixel in mm

I am using an HTML, CSS, js template, and converting it to pdf with the android app. I had a problem detecting when will next page break so I can put an element

Using v-html with message data -- does Vue not support the <title> element?

I am using Vue.js 2, my SDK is IntelliJ: I am trying to import HTML into a Vue.js file. The purpose is for the <title></title> attribute, since Vue

How to keep a paragraph height even when there is no text in it?

The problem is that I have two skinny boxes as in the code below. Both of them have a child paragraph. The first paragraph has some text in it, the second one d

I want to change pricing values according to different countries

I am creating a WordPress website and I'm using Techland theme from ninetheme. So I've created a price page and want to display pricing values by country. for e

I can't align the image images on the html page, how can I do it?

I have 2 div fields in my html page. In each field, there are 5 image images that I have listed sideways. I have 5 images side by side in the div just below. Bu

<link rel="stylesheet" type="text/css" href="{% static 'css/style.css' %}"> doesn't work

I link css to html on vs-code. center-aliend doesn't work here. Is there anyone who knows what part is wrong? I want to set the text 'Hello Static!!' to the cen

Why don't my CSS static files work in Django when I pass an optional parameter to the view?

I am making an application in Django, where I have a main (index) page displaying a number of objects styled with CSS. The CSS is in a static file. When I do no

Adding different colors to dashes of an SVG stroke

I'm new to SVG and stuff and I'm trying to add different colors for the different dashes of a single stroke. <style> .c-dashed-line__path { animation:

'Routes' is not defined react/jsx-no-undef

So I was following the React Crash Course on YouTube for Beginners from Academind. I was following everything along and everything was good until I came to the

the play button slides down when zooming in

normal scale zoomed in the play button slides down when zooming in, but the other elements remain in their places. I've been trying to figure out how to fix it

How would I add a auto scroll feature to this code?

https://codepen.io/hexagoncircle/pen/jgGxKR?editors=0110 I was looking around for cool code to play around with and found this. I tried the classic google the

Elements Not Centering

I am making a website for a client of mine, but I have a problem. I want 3 buttons with text pop up but they won't center. When I checked the inspector I could

can you apply media queries in the <noscript/> tag

Hey so im trying to display a message to the user if javascript is disabled using the noscript html tag. the message simply just asks them to re-enable javascri

can you apply media queries in the <noscript/> tag

Hey so im trying to display a message to the user if javascript is disabled using the noscript html tag. the message simply just asks them to re-enable javascri

In mobile responsive pagination is disappearing

Below is my code and here pagination is displayeing in laptop view as well as ipad or tablet view but while i am going to a small screen like mobile responsive

How do I style this text to be bold?

I am trying to figure out how to style this text to be bold in Shopify? <center> <font color="black">Free Shipping & Returns</font> <c

How to make this image hotspot map more accessible?

I am trying to create a "hotspot" map, which is an HTML image, with buttons absolutely positioned over top of the image. <div class="hotspot-map-container"&g

button not triggering call back function when clicked on. No way to know why as no error's thrown by console

I'm using an event listener on the button element. The user's first asked to select a language. Once they've have done so they are presented with the button in

How to make html and js to remember users dark theme setting [duplicate]

I am making a website for my discord bot (https://beast-bot.ga) i made a dark theme feature which will switch the website from light mode to d