PDA

Просмотр полной версии : как поставить ссылку на DIV в CSS


ufalog
24.09.2009, 22:20
#container_top
{ text-align:left;
padding-left:230px;
vertical-align:top;
background:url(../../images/cosmo.gif) left -50px no-repeat;
}


<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td id="container_top_left"><!-- cpt_container_start -->{cpt_auxpages_navigation select_pages='all' auxpages='' view='vertical' overridestyle=':3xaz8c'}<!-- cpt_container_end --></td>
<td id="container_top"><!-- cpt_container_start -->{cpt_custom_html code='p5kgoddr' overridestyle=':75man4'}{cpt_language_selection view='flags' overridestyle=':r0065a'}<!-- cpt_container_end --></td>
<td id="container_top_right"><!-- cpt_container_start -->{cpt_shopping_cart_info overridestyle=''}{cpt_currency_selection overridestyle=':wta1vr'}<!-- cpt_container_end --></td>
</tr>
</table>

FeraS
24.09.2009, 22:38
Еще раз объясни, что надо

ufalog
24.09.2009, 22:57
Еще раз объясни, что надо

чтоб вот ета картинка ../../images/cosmo.gif была кликабельна... т.е на нее ссылку повесить :)

FeraS
24.09.2009, 23:01
<a href="ссылка"><td id="container_top">…</td></a>

b3
25.09.2009, 03:18
А так не?
<a href="http://URL"><img src="PATH" width="320" height="240"></a>