noob - adding style to href
Posted: Wed Mar 31, 2010 2:25 am
this is one line from script
I would like to add style other than a{...} in external css file, so I tought I can add span class but it's not working (syntax error)
is there some way to add css class or id to this link?
Code: Select all
$gallery.= "<a href=\"".$directory.$file."\" rel=\"lightbox[".$galname."]\"><img src=\"".$thumbdirectory.$file."\" alt=\"\"></a>\n";I would like to add style other than a{...} in external css file, so I tought I can add span class but it's not working (syntax error)
Code: Select all
$gallery.= "<span class="thumb_links"><a href=\"".$directory.$file."\" rel=\"lightbox[".$galname."]\"><img src=\"".$thumbdirectory.$file."\" alt=\"\"></a></span>\n";