tests for padding free horizontal list.

This commit is contained in:
Chris Eppstein 2010-10-11 01:59:45 -07:00
parent 11b36a3831
commit 8998dddbf8

View File

@ -15,9 +15,9 @@ ul.horizontal {
padding-left: 4px; padding-left: 4px;
padding-right: 4px; } padding-right: 4px; }
ul.horizontal li:first-child, ul.horizontal li.first { ul.horizontal li:first-child, ul.horizontal li.first {
padding-left: 0px; } padding-left: 0; }
ul.horizontal li:last-child, ul.horizontal li.last { ul.horizontal li:last-child, ul.horizontal li.last {
padding-right: 0px; } padding-right: 0; }
ul.wide-horizontal { ul.wide-horizontal {
margin: 0; margin: 0;
@ -36,9 +36,9 @@ ul.wide-horizontal {
padding-left: 10px; padding-left: 10px;
padding-right: 10px; } padding-right: 10px; }
ul.wide-horizontal li:first-child, ul.wide-horizontal li.first { ul.wide-horizontal li:first-child, ul.wide-horizontal li.first {
padding-left: 0px; } padding-left: 0; }
ul.wide-horizontal li:last-child, ul.wide-horizontal li.last { ul.wide-horizontal li:last-child, ul.wide-horizontal li.last {
padding-right: 0px; } padding-right: 0; }
ul.right-horizontal { ul.right-horizontal {
margin: 0; margin: 0;
@ -57,24 +57,24 @@ ul.right-horizontal {
padding-left: 4px; padding-left: 4px;
padding-right: 4px; } padding-right: 4px; }
ul.right-horizontal li:first-child, ul.right-horizontal li.first { ul.right-horizontal li:first-child, ul.right-horizontal li.first {
padding-right: 0px; } padding-right: 0; }
ul.right-horizontal li:last-child, ul.right-horizontal li.last { ul.right-horizontal li:last-child, ul.right-horizontal li.last {
padding-left: 0px; } padding-left: 0; }
ul.right-horizontal { ul.no-padding {
margin: 0; margin: 0;
padding: 0; padding: 0;
border: 0; border: 0;
outline: 0; outline: 0;
overflow: hidden; overflow: hidden;
*zoom: 1; } *zoom: 1; }
ul.right-horizontal li { ul.no-padding li {
list-style-image: none; list-style-image: none;
list-style-type: none; list-style-type: none;
margin-left: 0px; margin-left: 0px;
white-space: nowrap; white-space: nowrap;
display: inline; display: inline;
float: right; } float: left; }
ul.inline-block { ul.inline-block {
margin: 0; margin: 0;