5,990 questions
1
vote
2
answers
51
views
How to move last two li items to the right using css [duplicate]
.navbar {
display: flex;
gap: 28px;
list-style-type: none;
padding-left: 145px;
background: linear-gradient(to right, #EEEEEE, #999999);
height: 30px;
align-items: center;
}
.search {
...
1
vote
1
answer
73
views
how to remove the underline of second level nested ul in markdown?
Cannot remove the underline from the second level of a nested ul in Markdown.
Code
Markdown
* list item (first ul first li)
* list item (second ul first li)
* list item (second ul second li)
* ...
1
vote
1
answer
146
views
Open Layers WebGLTile GLSL "Hello World" Example
I'm using OpenLayers for a React project and everything is going very well. I'd like to extend the WebGLTileLayer class to eventually be able to apply GLSL to web tiles (for raster smoothing, ocean ...
0
votes
0
answers
32
views
List on Tabulator with integer key
I found list on tabulator with integer key will not show list when click on the list cell. List will be shown right away, if the key is string. The below testing code works. Click "String Keys&...
1
vote
1
answer
62
views
The "list-style-type" style not working inside a :before pseudo-element in Chrome
On current project, I've been using :before pseudo-elements to insert the bulletpoints for ul > li elements. That way, I can put padding on the li-elements themselves to nudge them to the right.
...
2
votes
1
answer
42
views
How can I style a css order list to display 1-2, 3-4, 5-6, 7-8 etc
I want to output like so:
1-2 number one
3-4 number two
5-6 number three
This is my HTML-CSS code which I have tried
ol {
list-style : none; /* Remove default numbering */
counter-reset :...
0
votes
0
answers
15
views
Why are the markers in a rich text field not inheriting headline styles?
I'm using ordered list in the standard Rich Text field in Contentful, but when I apply the h4 or h5 in the ordered list. the 1. or the "A." does not inherit the styles of the headlines. I ...
0
votes
1
answer
51
views
Issue with setting the font size of the Telerik <ol> list
Actually the <ol> tag font-size is getting as 1 after received the output even the <li><font>listItem01</font></li> font size is bigger (1,, 2, 3, 4, 5, 6, 0r 7), so here ...
1
vote
1
answer
61
views
Cursor in contenteditable LI does not go to EOL on click (Chrome)
I am using a content editable list. Currently I am not able to solve the following chrome problem (it works fine in FF at least).
When you click after the end of the following lines, the cursor is ...
1
vote
1
answer
52
views
How can I fix nested gird layout?
In the example below you can see the issue. I have tried changing the grid-tample-colums property of the grid-container (ol) to grid-template-columns: min-content 1fr 0;
. But I am stuck.
ol {
...
1
vote
0
answers
51
views
Get JQuery to give me the elements of an array from a list
I have an unodered list which uses JQuery to reorder the list. Each list item is made up of several parts:-
switch ($categ) {
case 'P':
$p1 = 'C';
$p2 = 'E';
break;
...
0
votes
0
answers
57
views
ASP.NET MVC & C# : cannot convert System.Collections.Generic.IList<T> to System.Linq.IQueryable<T>
I have a list of application which I first filter by those who have paid:
var boapApplicants = _BOAPRepository.GetBOAPApplicantsList_Paid();
It then takes that list and puts it into a new selection ...
1
vote
1
answer
153
views
CSS @counter-style similar to toLocaleString
Is it possible to have a list counter style that behaves like number.toLocaleString()? Or at the very least, show commas in the thousands places?
Basically to show like 1,234 (or ideally 1.234 ...
1
vote
1
answer
66
views
How to specify where to start a list CSS
My HTML structure looks like this:
<ol styletype="A" start="5">
<li data-prefix="Pre" data-suffix="Suf">Item 1</li>
<li data-prefix=&...
0
votes
1
answer
42
views
Navbar hovering font color in listed items
I have a navbar on a website, of which I want the background color to be yellow and the text black. When having a mouse over an item, the background would be black and the text yellow.
My problem is ...