37 users online (0 members and 37 guests)  


  Results 1 to 3 of 3

Related

  1. Perl/HTML issue    Forum: CGI Perl Forum
    Replies: 0
  2. Replies: 2
  3. Adding a soundbyte with HTML...    Forum: HTML Forum
    Replies: 2
  4. Another html table issue......    Forum: HTML Forum
    Replies: 4
  1. #1
    One3rdNerd's Avatar
    New User

    Status
    Offline
    Join Date
    Mar 2009
    Posts
    2

    Exclamation HTML with hyperlinks issue with adding more attributes?

    Hello all, I am doing a series of tables in a html page on my site. I am using drupal, and have got the code working, but wish to add some more attributes to the fields, and adding the font type, font colour, and font size doesnt seem to be working for me, it worked when i did it without making the table headers hyperlinks, and now I do not seem to be be able to add these attributes, maybe someone can point me in the right direction.

    If you see the html below, you will see on my first table, the first cell, I have added the attributes where I thought they were applicable, but it has no effect on the table.
    Code:
    <p>&nbsp;</p>
    <p><style type="text/css">
    .full {
          width:100%;
          height:100%;
          display:block;
    }</style></p>
    <p>
    <table>
        <tbody>
            <tr>
                <td width="300" height="15" font="courier" size="4"><a class="full" href="http://localhost/drupal-6.10/content/freelance-work/">Freelance Work</a></td>
                <td width="300" height="15"><a class="full" href="http://localhost/drupal-6.10/content/freelance-work/">Freelance Work</a></td>
            </tr>
        </tbody>
    </table>
    </p>
    <p>&nbsp;</p>
    <table width="250" border="1">
        <tbody>
            <tr>
                <td><font color="#666362" size="2">Freelance Work</font></td>
                <td><font color="#666362" size="2">Freelance Work</font></td>
            </tr>
        </tbody>
    </table>
    <p>&nbsp;</p>
    <p><style type="text/css">
    .full {
          width:100%;
          height:100%;
          display:block;
    }</style></p>
    <p>
    <table>
        <tbody>
            <tr>
                <td width="300" height="15"><a class="full" href="http://localhost/drupal-6.10/content/freelance-work/">Freelance Work</a></td>
                <td width="300" height="15"><a class="full" href="http://localhost/drupal-6.10/content/freelance-work/">Freelance Work</a></td>
            </tr>
        </tbody>
    </table>
    </p>
    <table width="250" border="1">
        <tbody>
            <tr>
                <td><font color="#666362" size="2">Freelance Work</font></td>
                <td><font color="#666362" size="2">Freelance Work</font></td>
            </tr>
        </tbody>
    </table>
    <p>&nbsp;</p>
    <p><style type="text/css">
    .full {
          width:100%;
          height:100%;
          display:block;
    }</style></p>
    <p>
    <table>
        <tbody>
            <tr>
                <td width="300" height="15"><a class="full" href="http://localhost/drupal-6.10/content/freelance-work/">Freelance Work</a></td>
                <td width="300" height="15"><a class="full" href="http://localhost/drupal-6.10/content/freelance-work/">Freelance Work</a></td>
            </tr>
        </tbody>
    </table>
    </p>
    <table width="250" border="1">
        <tbody>
            <tr>
                <td><font color="#666362" size="2">Freelance Work</font></td>
                <td><font color="#666362" size="2">Freelance Work</font></td>
            </tr>
        </tbody>
    </table>
    Last edited by HTML; 03-14-2009 at 05:08 PM.

  2. #2
    rangana's Avatar
    Moderator/Allstar

    Status
    Offline
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    317

    Re: HTML with hyperlinks issue with adding more attributes?

    Which attribute do you mean? You mean the font and size?

    There's no font and size attribute for the td element.

    They're for the font tag which is already deprecated.

    These links might be useful in shedding to you some light:
    http://www.w3.org/TR/REC-html40/index/attributes.html
    http://www.codehelp.co.uk/html/deprecated.html
    http://css-tricks.com/list-of-deprec...idespread-use/

    Hope it helps.
    Checkout my porfolio.
    Please click the button when a member helped you.
    Take time to use Forum's Search function.

  3. #3
    One3rdNerd's Avatar
    New User

    Status
    Offline
    Join Date
    Mar 2009
    Posts
    2

    Re: HTML with hyperlinks issue with adding more attributes?

    Yes, i wanted to change fone size, font colour and font type. Thank you for the links, I will have a look today and find out if I can use them to add the font line in. Is the font line depreciated due to me having hyperlinks within the table?

    Thanks in advance.

    David