html-lists Questions

4

Solved

Here's a problem I run into every now and then, that I usually try and solve from a back end perspective, but would like to know if there's a magic solution others have found to solve this on the f...
Wording asked 4/1, 2011 at 17:8

4

Solved

I am producing a <ul> of alphabetically sorted items, which spans over multiple lines. An example of this can be seen here: http://jsfiddle.net/H4FPw/1/ currently the list is laid out horiz...
Kelley asked 2/6, 2011 at 15:13

1

Solved

Is there any way to remove the DOT after the decimal numbers in List style? My CSS .snum li {list-style:decimal outside none;} The result i was getting like this (not including PHP and HT...
Allantoid asked 13/2, 2015 at 0:31

5

Solved

I'd like to add a forward slashes ('/') between my li elements, but I'm not sure of the best way to do that semantically. Right now, I'm simply including the forward slash in the li tag and adding ...
Pastiche asked 8/6, 2011 at 21:13

3

Solved

I have an unordered list where I'm trying to control the hanging indent. On items that overflow onto two lines, I want the second line of text to line up directly under the previous line of text (n...
Khaki asked 9/7, 2013 at 19:24

4

I want the width of the UL to match the longest text in a li however if i do not set a width for my ul (currently 28.5%) it just takes up 100%. Have tried using max-width but that failed too. code...
Mnemonic asked 8/1, 2015 at 9:6

3

Solved

Anybody knows, how to add bullets/separators between elements in horizontal list in Bootstrap 3? <ul class="list-inline"> <li>Author: Michal</li> <li>Modified: 17.08.2014...
Gandzha asked 17/8, 2014 at 21:48

2

I have a Jasper report which uses HTML markup tag to display the li tag list. However, it seems that even with the latest version of the Jasper report, it still cannot do the hanging indent correct...
Acord asked 14/6, 2012 at 0:3

8

Solved

My HTML is as follows: <ul id="nav"> <li><a href="./">Home</a></li> <li><a href="/About">About</a></li> <li><a href="/Contact">...
Rossetti asked 27/10, 2008 at 21:51

5

Solved

I have a nested ordered list. <ol> <li>first</li> <li>second <ol> <li>second nested first element</li> <li>second nested secondelement</li&g...
Scold asked 28/4, 2010 at 13:42

2

Solved

I have a unordered list like: <ul> <li>Element one <ul> <li><a>Element two</a> <ul> <li><a>Element three</a></li> </ul&gt...
Bowdlerize asked 17/9, 2014 at 9:46

2

Solved

Currently, this example shows an unordered list with 8 list items in it. Is there a way using only CSS (no HTML or JavaScript) to insert a break after the 4th li item. Something like: ul li:nth-c...
Mortar asked 4/4, 2012 at 11:39

6

Solved

I've a header div and a menu ul below it. I'd like to accomplish 2 things: 1) the ul should have the same width as the div (outer vertical borders exactly same x position 2) I'd like to keep the s...
Expatiate asked 22/8, 2013 at 11:11

3

Solved

Is it possible to refer to a <li> index? I want to do that to be able to add/remove/reorder the <li> tags without having to manually change the reference number. Here is an example wit...
Gerry asked 19/8, 2014 at 11:24

3

Solved

<ul> <div style="float:left"> <asp:LinkButton ID="lbtnFirst" runat="server" CausesValidation="false" OnClick="lbtnFirst_Click">İlk</asp:LinkButton></div> <div ...
Judicious asked 9/4, 2014 at 6:43

7

We have two offline systems that normally can not communicate with each other. Both systems maintain the same ordered list of items. Only rarely will they be able to communicate with each other to ...
Margheritamargi asked 12/4, 2012 at 19:58

5

Solved

$(document).on("click", "li", function() {alert("A list item was clicked");} I'm using the above code to perform an action on every list item but list dividers are also proccing this event. I m...
Roil asked 5/8, 2014 at 6:45

2

Is it ever acceptable to nest heading tags within list item tags within the HTML5 nav element in an effort to have the navigation list items show up in outlines? This validates but is it semantical...
Metaplasia asked 22/7, 2014 at 6:23

6

Solved

I have a list as below that is created dynamically: <ul> <li>20</li> <li>10</li> <li>5</li> <li>3</li> <li>32</li> ...
Placement asked 18/4, 2012 at 18:9

1

Solved

I have this HTML: <div class="navbar"> <ul> <li>Foo <ul> <li>Bar</li> </ul> </li> </ul> </div> I want to apply CSS only to item...
Karisa asked 15/6, 2014 at 5:22

4

Solved

I have a list: <ul> <li>Number 1</li> <li>Number 2</li> <li>Number 3</li> ... </ul> All the <li> are floating. I need the height of the ...
Alicia asked 19/7, 2011 at 17:21

2

Solved

Why when i split an ul into two columns it is losing its bullets?? HTML: <ul class="with-columns"> <li>Ringo <li>George <li>John <li>Paul </ul> CSS:...
Mainis asked 22/5, 2014 at 7:7

2

Solved

I basically have a question in relation to this thread -> Extend last li to remaining width of a ul? I wasn't sure if I should reply or make a new thread and reference it. Anyway, I have a navigat...
Slaughter asked 8/5, 2014 at 0:47

6

Solved

div.content that is containing ul.searchlist with two lis (areas with the white background) is not aligning at the left completely as it has some extra spacing (area with the red background) and I ...
Ashtray asked 18/4, 2014 at 2:21

2

Solved

I am having trouble centering inline lists when using Zurb's Foundation 4. The prebuilt css classes of 'text-center' and 'centered' work fine for other elements but not with lists. A review of an...
Dosia asked 11/12, 2013 at 12:2

© 2022 - 2024 — McMap. All rights reserved.