html - Present table cells as links in Plone (Novice) -


new here - , sorry say; html novice.

i trying use table cells links in plone. want create illusion of 'tabs' (as not available in current css) , don't want text underlined, want function page cells direct page.

i tried few suggestions online don't seem work makes first cell underlined , text linked. e.g.:

<td><a href="http://example.com"> hello world </a></td> 

my table row looks like:

<table class="data">    <tbody>      <tr>        <th class="green" style="text-align: center; ">tab a</th>        <th class="white" style="text-align: center; ">          <a class="internal-link" href="www.google.com"></a>tab b</th>        <th class="white" style="text-align: center; ">tab c</th>        <th class="white" style="text-align: center; ">tab d</th>      </tr>    </tbody>  </table>

i need these cells link other pages, i.e. if linked images.

try code.

table.data th > {    display: block;    text-align: center;    text-decoration: none;    padding: 3px 5px;   }
<table class="data">    <tbody>      <tr>        <th class="green"><a href="http://example1.com">tab a</a></th>        <th class="white"><a href="http://example2.com">tab b</a></th>        <th class="white"><a href="http://example3.com">tab c</a></th>        <th class="white"><a href="http://example3.com">tab d</a></th>      </tr>    </tbody>  </table>


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -