Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Senior Coder
    Join Date
    Apr 2010
    Posts
    1,470
    Thanks
    71
    Thanked 104 Times in 103 Posts

    Add borders to TD within tag?

    Is it possible to add a custom border tag inside of a table td?

    Code:
    <tr><td>10,000 Gold <input type="submit" name="gold" maxlength="2" size="2" value="Buy"></td>
    to something like this?

    Code:
    <tr><td border style="thick" border="1">10,000 Gold <input type="submit" name="gold" maxlength="2" size="2" value="Buy"></td>
    Last edited by myfayt; 08-13-2011 at 05:10 PM.

  • #2
    Regular Coder
    Join Date
    Jul 2011
    Location
    India
    Posts
    496
    Thanks
    3
    Thanked 57 Times in 56 Posts
    Use following code

    Code:
    <tr>
        <td style="border:1px solid #000;">&nbsp;</td>    
      </tr>
    Also your code is wrong....

  • Users who have thanked vikram1vicky for this post:

    myfayt (08-13-2011)

  • #3
    Senior Coder
    Join Date
    Apr 2010
    Posts
    1,470
    Thanks
    71
    Thanked 104 Times in 103 Posts
    Thank you


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •