как поставить ссылку на DIV в CSS

Discussion in 'PHP' started by ufalog, 24 Sep 2009.

  1. ufalog

    ufalog Elder - Старейшина

    Joined:
    28 Jul 2007
    Messages:
    174
    Likes Received:
    6
    Reputations:
    -5
    PHP:
    #container_top
    text-align:left;
      
    padding-left:230px;
      
    vertical-align:top;
      
    background:url(../../images/cosmo.gifleft -50px no-repeat;
    }
    PHP:
    <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>
     
    #1 ufalog, 24 Sep 2009
    Last edited: 24 Sep 2009
  2. FeraS

    FeraS Elder - Старейшина

    Joined:
    19 Jan 2007
    Messages:
    555
    Likes Received:
    420
    Reputations:
    76
    Еще раз объясни, что надо
     
  3. ufalog

    ufalog Elder - Старейшина

    Joined:
    28 Jul 2007
    Messages:
    174
    Likes Received:
    6
    Reputations:
    -5
    чтоб вот ета картинка ../../images/cosmo.gif была кликабельна... т.е на нее ссылку повесить :)
     
  4. FeraS

    FeraS Elder - Старейшина

    Joined:
    19 Jan 2007
    Messages:
    555
    Likes Received:
    420
    Reputations:
    76
    <a href="ссылка"><td id="container_top">…</td></a>
     
  5. b3

    b3 Moderator

    Joined:
    5 Dec 2004
    Messages:
    2,029
    Likes Received:
    913
    Reputations:
    199
    А так не?
     
    _________________________
Loading...