Skip to main content
0 votes
2 answers
128 views

I'm developing a feature to generate a PDF health report from an EJS template. I'm trying to add page numbers (e.g., "Page 1 of 10") to the footer of each page. I'm using the CSS Paged Media ...
Sourabh Kushwah's user avatar
-1 votes
1 answer
145 views

How to add an index column to a HTML <table> using just CSS? Before: ITEM PRICE Banana $2 Orange $1 After: No. ITEM PRICE 1 Banana $2 2 Orange $1 How to add it automatically? I.e., what ...
Dan Jacobson's user avatar
0 votes
0 answers
105 views

I have two different CSS files, and I want body to reset two counters: This file is linked before: body { counter-reset: counter-one; } and this one after body { counter-reset: counter-two; /*...
Sergueille's user avatar
0 votes
1 answer
98 views

I've used the content CSS value with the counters function to create ordered lists that have nested numbering. My html is created using the DITA open toolkit, so there are auto-generated and ...
Melanie Hinchey's user avatar
3 votes
1 answer
104 views

The following snippets produce different results in Edge and Firefox: dd { display: list-item; list-style-position: inside; list-style-type: decimal; counter-increment: 1; } <ul> &...
JackFan's user avatar
  • 39
0 votes
1 answer
49 views

I'm trying to style lists inside of lists in CSS but there is a problem when I have an ordered list inside an unordered one. I'd like the ordered list which is inside an unorered list to begin at 1. ...
Louis's user avatar
  • 1
1 vote
2 answers
2k views

I tried to increment a counter for a list with CSS. However, even though I can see the list numbers, those don't increment. I used :before and the CSS property counter. Here's the code: ....
Sofiane R's user avatar
  • 132
-2 votes
1 answer
155 views

Is it possible to use @counter-style on a pseudo-element? I tried with an ::after, but it does not works, while in direct selector, @counter-style works. Problem with this case: if I want to move the ...
kevgiraultdev's user avatar

15 30 50 per page
1
2 3 4 5
11