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;
[...]
- @polmoneys Indeed. Have you tried Sencha Touch? Same concept, but much more developed and lots of contributors. Having lots of fun with it. 10 hrs ago
- Twitter's new "Who to follow" feature recommends everyone who's ever annoyed me. 1 day ago
- Building an iOS scrolling engine is hard stuff. Still, do it right or don't do it at all. This is why my engine sits on the shelf. 1 day ago
- More updates...
-
Categories
-
Archives
Tweets
Posting tweet...

