Hello i am able to add icons next to files that end in these extentions, what im tring to do is to add icons next to directories. Any ideas ?
Thank you

a[href$='.zip'], a[href$='.rar'], a[href$='.gzip'] {
background:transparent url(zip.jpg) center left no-repeat;
display:inline-block;
padding-left:40px;
line-height:18px;
}

Do you have the ability to generate the HTML code where you can assign a class to those hyperlinks that point directly to directories? Then use a CSS class selector in a similar manner?

o my gosh duhhhh... lol

    a {
    background:transparent url(folder.jpg) center left no-repeat;
    display:inline-block;
    padding-left:40px;
    line-height:18px;
    }

This worked thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.