Timeline for answer to CSS: Control space between bullet and <li> by BalusC
Current License: CC BY-SA 4.0
Post Revisions
11 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 14, 2024 at 16:20 | comment | added | Vanuan | The solution should involve removing the default value rather than adding a counterpart negative value. In addition, this doesn't answer the question on how much of a negative value you need to completely negate the default value. Guess work doesn't have a place in a modern web design. | |
| Apr 6, 2024 at 21:03 | comment | added | Gangula |
although this is the best I could fine till now, the issue with this approach is you cannot add a background to the li element
|
|
| Nov 9, 2019 at 0:44 | comment | added | ingyhere |
@Wolle Hmmm. It's an old comment, and I'm not sure of the concern -- If it's as to whether <SPAN> can utilize id or class tags, take a look at W3C. If the question is whether it can convey semantic meaning, see this answer. Technically, the <SPAN> tag is a non-semantic inline element by itself, but in some way that affords more flexibility in its re-use. Nowadays, I believe one can use the inline-block descriptor to allow a lot greater range of formatting options.
|
|
| Nov 8, 2019 at 18:31 | comment | added | ˈvɔlə | @ingyhere I doub't this is true, since I cannot find anything that proves this claim. Can you provide any sources? | |
| Jun 10, 2019 at 15:40 | history | edited | j08691 | CC BY-SA 4.0 |
deleted 92 characters in body
|
| Nov 14, 2016 at 6:35 | comment | added | Jay Bhalodi | in firefox there is not display properly text is overlapping the bullets using this trick | |
| Aug 7, 2012 at 11:01 | comment | added | user56reinstatemonica8 | +1 for actually answering the guy's question ;) (though the span should ideally in real life have a class anyway for good practice futureproofing as well as semantics: if in future any javascript or new features development etc had a good reason to add extra spans to your content, things could get messy) | |
| S Feb 4, 2012 at 1:29 | history | suggested | CommunityBot | CC BY-SA 3.0 |
It is not necessary to position the list item tag, just the span.
|
| Feb 3, 2012 at 22:58 | review | Suggested edits | |||
| S Feb 4, 2012 at 1:29 | |||||
| Dec 18, 2010 at 3:31 | vote | accept | erjiang | ||
| Dec 7, 2010 at 3:47 | history | answered | BalusC | CC BY-SA 2.5 |