For those of you who don’t have to worry about IE8, this is as simple as:
ul li { list-style: none; display: inline; }
ul li:after { content: " \00b7"; }
ul li:last-child:after { content: none; }
Related Contents:
- Make body have 100% of the browser height
- Is it possible to set the equivalent of a src attribute of an img tag in CSS?
- HTML table with 100% width, with vertical scroll inside tbody
- Is there a CSS selector for the first direct child only?
- How to deal with page breaks when printing a large HTML table
- How can I override Bootstrap CSS styles?
- HTML list-style-type dash
- How to wrap text of HTML button with fixed width?
- What’s the difference between an id and a class?
- How to remove/ignore :hover css style on touch devices
- Why is a div with “display: table-cell;” not affected by margin?
- How do I remove background-image in css?
- How can I display just a portion of an image in HTML/CSS?
- CSS: Workaround to backdrop-filter?
- Optimal settings for exporting SVGs for the web from Illustrator?
- How to avoid a new line with the ‘p’ tag
- Border around specific rows in a table?
- :hover but :not on a specific class
- How to get just the responsive grid from Bootstrap 3?
- Using CSS td width absolute, position
- Progress Bar with HTML and CSS
- Why is “cursor:pointer” effect in CSS not working
- Semantics and Structure of Name-Value Pairs
- Unicode via CSS :before
- How to align footer (div) to the bottom of the page? [duplicate]
- Cut Corners using CSS
- Reverse order of columns in CSS Grid Layout
- Stretch text to fit width of div
- Change color of Chrome’s calendar icon in HTML Date Input
- How to set a percentage height value in HTML/CSS
- HTML Table Rows – How to make a unique cell have 100% width? (with screenshot explanation)
- Word wrap a link so it doesn’t overflow its parent div width [duplicate]
- How to apply font anti-alias effects in CSS? [duplicate]
- Can I style an image’s ALT text with CSS?
- Why use .h1 instead of actual h1?
- Is there a foreground equivalent to background-image in css?
- How to wrap text without regard to space and hyphen
- How to implement a Navbar Dropdown Hover in Bootstrap v4?
- How to display wrapping flex items as space-between with last row aligned left?
- Can I use div as a direct child of UL?
- CSS 100% Height, and then Scroll DIV not page
- Set div to remaining height using CSS with unknown height divs above and below
- Setting the width of inline elements
- Is it possible to change width of tab symbol in textarea?
- Fallback background-image if default doesn’t exist
- Removing “bullets” from unordered list
- How to use responsive background image in css3 in bootstrap
- Dropdown with a form inside with twitter-bootstrap
- Is it wrong to change a block element to inline with CSS if it contains another block element?
- Mystery white space underneath image tag [duplicate]