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
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: 56150
    
  13

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 .


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56150
    
  13


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: 56150
    
  13

Please read this.
 
I agree. Here's the link: jrebel
 
subject: CSS :Underline each Row in a Table
 
Similar Threads
HTML table border
Table scrolling problems
CSS : Cell borders showing up on th cells but not td
table cells not aligning
Another table border question