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 4 of 4
  1. #1
    Regular Coder
    Join Date
    Feb 2006
    Posts
    110
    Thanks
    23
    Thanked 0 Times in 0 Posts

    help with table border

    everything works fine except for the bordercolor. I dont know but the color never changes. Could anyone help me?
    Code:
    <table>
    <tr>
    <td style="background-color:#F8F8F8;text-align:center" 
    onmouseover="this.style.backgroundColor='#EAEAEA';this.style.borderColor='#FFFFFF';" 
    onmouseout="this.style.backgroundColor='#F8F8F8';this.style.borderColor='#000000';" height="20">
    LINK</td>
    </tr></table>

  • #2
    Regular Coder
    Join Date
    Jan 2006
    Location
    Preston, Lancashire, England
    Posts
    285
    Thanks
    0
    Thanked 0 Times in 0 Posts
    try this
    Code:
    <table>
    <tr>
    <td style="background-color:#F8F8F8;text-align:center" 
    onmouseover="this.style.backgroundColor='#EAEAEA';this.style.border='1px solid #FFFFFF';" 
    onmouseout="this.style.backgroundColor='#F8F8F8';this.style.border='1px solid #000000';" height="20">
    LINK</td>
    </tr></table>

  • #3
    Kor
    Kor is offline
    Red Devil Mod Kor's Avatar
    Join Date
    Apr 2003
    Location
    Bucharest, ROMANIA
    Posts
    8,478
    Thanks
    58
    Thanked 379 Times in 375 Posts
    Yes, besides the color of the border, you need the style and the width of the border as well, otherwise you have no border al all.
    KOR
    Offshore programming
    -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

  • #4
    Regular Coder
    Join Date
    Feb 2006
    Posts
    110
    Thanks
    23
    Thanked 0 Times in 0 Posts
    ahhhhhhhhhhhhh...wy dont i think of that before...lolz

    thank you so much.stupid of me


  •  

    Posting Permissions

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