html-lists Questions

6

Solved

Here is my code: HTML <div class="menu"> <ul> <li class="active"><a href="index.html">HOME</a></li> <li class="active"><a href="#">COMPANY</a...
Jacqui asked 20/6, 2010 at 19:35

2

I'm attempting to create a numbered list where each li element contains an image and a text block. The list-number, image and text block should all be horizontally aligned along a horizontal center...
Thurible asked 27/11, 2011 at 2:49

2

Solved

I wanted to create colored list-markers for <ul> and I did it, but in all lists now the list-style-position attribute does not works. Here is the code: ul.FirmStyle { list-style-type:...
Elephus asked 14/1, 2016 at 13:4

10

Solved

I have a ordered list where I would like the initial number to be 6. I found that this was supported (now deprecated) in HTML 4.01 using the start attribute. In this specification they say that you...
Pikeman asked 22/4, 2009 at 20:19

4

Solved

The bullets in IE8 are so small, I tried changing the font-size, but that didn't work. Code: <ul style="padding:0; margin:0; margin-left:20px;"> <li>item 1</li> <li>item ...
Rigby asked 27/9, 2011 at 1:45

14

I have the following list: <ul id="otis"> <li>Benz</li> <li>Other Benz</li> <li>Other Other Benz</li> </ul> I want to get rid the bullets so ...
Mare asked 27/11, 2011 at 23:2

4

Solved

For the main nav of my site, there is a 980px wide div with a ul for the main nav links. I am trying to make the nav links stretch to fit the width of the div evenly. <div style="width: 980px;"...
Azurite asked 3/3, 2011 at 21:22

5

Solved

I observed a relative strange behavior when I use floating images in a document. The list items indentation is made relatively to the 'red line' instead of the 'green' one. Why is this happening ...
Monolithic asked 26/9, 2010 at 12:10

7

Solved

I have a navigation menu, footer, and a slideshow which use listed style to list links and images. I have the css list-style:none; set to hide the bullets next to the links and images in the nav an...
Sevenfold asked 7/5, 2012 at 19:28

2

I'm working on a text editor based on a contenteditable DIV. I'd like to produce valid HTML5, but ran into problems with nesting lists. The following two formatting examples seem to be impossible...
Havana asked 8/4, 2020 at 6:17

7

Solved

I'm not an advanced user of CSS, but I have a decent working knowledge i suppose. I'm tryin to make an unordered list that uses different icons for each list element. I would also like the backgrou...
Sicken asked 18/4, 2011 at 18:24

3

Solved

can I use definition lists just like unordered/ordered lists? I mean insert DIVs any anything I want inside DT or DD? <dl> <dt> ... </dt> <dd> ... </dd> </d...
Haver asked 17/6, 2011 at 22:36

17

Solved

How can I left-align the numbers in an ordered list? 1. an item // skip some items for brevity 9. another item 10. notice the 1 is under the 9, and the item contents also line up Change the cha...
Lovato asked 14/8, 2008 at 10:42

6

Solved

I'd like to left align both the numbers and the text in my <ol>. This is what I'm trying to accomplish: For now, each <li> contains an <a>, but that can change. So far I tried ...
Donadonadee asked 15/1, 2013 at 21:29

4

Solved

I need to render a unordered list with the data obtained from database using asp.net/C#.My data looks something like this. id Name Depth 1 ELECTRONICS 0 2 TELEVISIONS 1 3 Tube 2 4 LCD 2 5 Pla...
Valverde asked 26/2, 2010 at 15:53

5

I have an unordered list: List item 1 List item 2 List item 3 List item 4 List item 5 Implemented with this code: <ul> <li>List item 1</li> <li>List item 2</...
Seduction asked 8/9, 2012 at 16:19

4

Solved

I'd like to customize the way items of unordered lists are presented. I know I can use list-style-type to change between none, disc, circle, square and other more or less supported values. I also k...
Testimony asked 11/4, 2011 at 9:9

3

Solved

I am currently trying to add arrow indicators on my navigation menu for items which have submenu options. Currently I am using this CSS: .mainNav li > a:after { color: #444; content: ' ▾'; }...
Commiserate asked 17/1, 2014 at 16:19

12

Solved

I have a simple list with list items that don't have any special classes. <ul> <li>item</li> <li>item</li> <li>item</li> <li>item</li> &l...
Assuntaassur asked 22/12, 2014 at 7:3

4

Solved

I have a list and list also has list in it. I set styles on parent list but I want different styles for parent and child list but they are mixed somehow I can't separate them. HTML file: <ul i...
Raze asked 8/10, 2012 at 18:25

2

Solved

I'm having issues with my bullets on an unordered list breaking out of their block element. Is this normal, or are bullets not considered part of the document flow? In this fiddle, my unordered li...
Kristankriste asked 25/9, 2013 at 13:43

6

Solved

If A has the Ordered[A] trait, I'd like to be able to have code that works like this val collection: List[List[A]] = ... // construct a list of lists of As val sorted = collection sort { _ < _ ...
Braille asked 29/6, 2010 at 4:45

4

Solved

Here's the problem: I have an ol li ordered list with a start attribute like so: .custom { margin: 0; padding: 0; list-style-type: none; } .custom li { counter-increment: step...
Smitten asked 16/3, 2019 at 20:1

5

Solved

The bullets on my list items disappear when I convert them to columns using CSS3. Any ideas why or suggestions on how to correct it? See the example: http://jsfiddle.net/gduDm/1/ ul li { list-st...
Seessel asked 1/6, 2012 at 18:38

2

Solved

My sublists suddenly started breaking my ordered lists in Firefox (68.0.2) for Ubuntu, and Firefox on my android mobile. Is this a Firefox bug or is my syntax bad here? <ol> <li>...
Applecart asked 20/8, 2019 at 4:57

© 2022 - 2024 — McMap. All rights reserved.