PDA

View Full Version : [3.0] CSS to make list view to look like a standard ext grid



JamesC
6 Sep 2009, 7:38 AM
Try the following css to give alternate highlighting & borders to a regular list view:



.x-list-body {
border-left: 1px solid #D0D0D0;
}

.x-list-body dl {
border-bottom: 1px solid #D0D0D0;
}

.x-list-body dl:nth-child(odd) {
background-color: #DFE8F6;
}

.x-list-body dl:nth-child(even) {
background-color: #FFFFFF;
}

lincStar
4 Jan 2010, 4:20 AM
Hi,

Sorry but this is not working for me............
Please help me.......


dl:nth-child(odd)
this is not detected.....
I added ur CSS in my .css file
but not working
please help me.........

Thanks,
LincStar