Bookmark Topic Watch Topic
  • New Topic

CSS :Underline each Row in a Table

 
Abiodun Adisa
Ranch Hand
Posts: 495
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hello All,
I am trying to make a line under each Row in a table but i am having a problem accomplishing this in my css i have

<style type="text/css">
border-bottom:2px solid #005000;
</style>

and in my HTML i have

<table width="200" border=1>
<tr>
<td>Hello</td>
<td>HI</td>
</tr>
<tr>
<td>Hello2</td>
<td>HI2</td>
</tr>
</table>


Any suggestion would be appreciated
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65216
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please be sure to use UBB code tags when posting code to the forums. Unformatted code is extremely hard to read and many people that might be able to help you will just move along. Please read this for more information.

You can go back and change your post to add code tags by clicking the .
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65216
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator

Not valid. Where is the selector?
 
Abiodun Adisa
Ranch Hand
Posts: 495
  • Mark post as helpful
  • send pies
  • Report post to moderator
Originally posted by Bear Bibeault:

Not valid. Where is the selector?



Sorry please find below the code
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65216
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please read this.
 
    Bookmark Topic Watch Topic
  • New Topic