silly and basic question. [solved]

    Date: 02/28/05 (WebDesign)    Keywords: css, web

    i'm trying to achieve the simple effect of using CSS's border-bottom to fake an underline of a different color (and style).

    so, i have this on my stylesheet:

    a:link, a:visited, a:active {
       border-bottom: 1px dotted #ccc;
    }


    my only problem is that i don't want the links with images to have this bottom border. i've tried doing a img { } but this targets the image itself, setting its border to 0. but i want to target the anchor tag.

    The question is, is there any way of achieving this without using classes? ie:




    i've searched the web, but i haven't found any page dealing with this issue (which leads me to think that the only way is to use classes).

    thanks in advance

    edit
    solved, thanks to '[info]'device55

    Source: http://www.livejournal.com/community/webdesign/817678.html

« New here || please help »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home