Image before hyperlink |
Image before hyperlink |
sadia |
Oct 11 2006, 08:35 AM
Post
#1
|
Group: Members Posts: 3 Joined: 11-October 06 Member No.: 407 |
Hey!
I want images before these hyperlinks. My code for the list is like this: li { list-style-type: none; padding:2px 0 2px 25px; background: url(../pictures/doc.gif) 0 50% no-repeat; } And it is linked to: .PromptDocument { padding-left: 0px; padding-bottom: 5px; color: #000000; background-repeat: no-repeat; } Is there anyway to combine them. Im linking these code to this script: { function SpecExtDoc(ci) {local edlst = ci->ExternalDocument; local ret = ""; local i; if (edlst=="") return(ret); ret='<H5 class="PromptDocument">Dokument</H5><ul>'; for (i in edlst) ret = AddTab(ret,StrCat('<li><A HREF="',i->FileName,'" TARGET="_NEW" /A>',i->Name)); ret=AddTab(ret,"</ul>"); return(ret); } Print('QWS Tag_SpecExtDoc loaded'); } |
pandy |
Oct 11 2006, 03:58 PM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
How do you mean combine them? One style rule is for a list item, the other for a H5. What is it you want to do?
|
Lo-Fi Version | Time is now: 20th April 2024 - 05:06 AM |