5,988 questions
Score of 0
1 answer
47 views
Is it possible to use <ul style="columns: X;"> within the Bootstrap framework?
I am trying to implement this StackOverflow answer but I am running into problems getting Bootstrap to play nice. I am using Bootstrap v4.3.1.
I have the following code that lists brands using a Twig ...
Score of 1
2 answers
56 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 {
...
Score of 1
1 answer
93 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)
* ...
Score of 1
1 answer
242 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 ...
Score of 1
1 answer
86 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.
...
Score of 2
1 answer
49 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 :...
Score of 0
1 answer
74 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 ...
Score of 1
1 answer
74 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 ...
Score of 1
1 answer
55 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 {
...
Score of 1
0 answers
72 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;
...
Score of 0
0 answers
67 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 ...
Score of 1
1 answer
169 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 ...
Score of 1
1 answer
85 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=&...
Score of 0
1 answer
55 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 ...
Score of 1
1 answer
205 views
Show/Hide HTML list items based on ajax results
I'm running a PHP file that uses javascript to add to a list of items that is pulled from a sql database. The search filter does not affect the items that were taken from the sql database. How can I ...