aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes CSS :Underline each Row in a Table Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply locked New topic
Author

CSS :Underline each Row in a Table

Abiodun Adisa
Ranch Hand

Joined: Jan 17, 2002
Posts: 495
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

Joined: Jan 10, 2002
Posts: 61661
    
  67

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 .


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61661
    
  67


Not valid. Where is the selector?
Abiodun Adisa
Ranch Hand

Joined: Jan 17, 2002
Posts: 495
Originally posted by Bear Bibeault:

Not valid. Where is the selector?



Sorry please find below the code
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61661
    
  67

Please read this.
 
 
subject: CSS :Underline each Row in a Table