Consider the following:
ul li {
display: inline;
margin-right: 10px;
padding-right: 10px;
border-right: 1px solid red;
}
ul li:last-child {
margin-right: 0;
padding-right: 0;
border-right: 0;
}
This bit of CSS would give you perfect line separators in IE8+. But since IE 7 supports the :first-child pseudo-class, we can do one better:
ul li {
display: inline;
margin-left: 10px;
padding-left: 10px;
[...]
- Watching the "cat in the wall" episode of Sunny in Philadelphia. Too soon. Too soon. 2010-11-14
- @mezzoblue Dude. An Instagram Mosaic of Muddy Hipsterism. This needs to happen. 2010-11-11
- @spaceninja What Matrix sequels? #denialisariverinegypt 2010-11-10
- More updates...
-
Categories
-
Archives
Tweets
Posting tweet...

