Solved

border between rows

Posted on 2011-03-01
6
322 Views
Last Modified: 2012-05-11
<tr style="border-color: blue; border-style: solid;border-width:30px;">

want a border between rows

this does not work

please do answer within tr tag and not use css
0
Comment
Question by:rgb192
  • 3
  • 2
6 Comments
 
LVL 6

Expert Comment

by:MISOperations
ID: 35012176
<table border="1">
<tr><td>Row 1 Cell 1</td><td>Row 1 Cell 2</td></tr>
<tr><td>Row 2 Cell 1</td><td>Row 2 Cell 2</td></tr>
</table>
0
 
LVL 7

Accepted Solution

by:
jrwarren earned 500 total points
ID: 35012229
The other option, if you want a blue bar border, is to create a single pixel inage that is blue.
   call it blue.png

<table border="0">
  <tr>
     <td>Row 1 Cell 1</td>
     <td>Row 1 Cell 2</td>
  </tr>
  <tr>
     <td>
         <img src="blue.png" width="30" height="3">
     </td>
     <td>
         <img src="blue.png" width="30" height="3">
     </td>
  </tr>
  <tr>
     <td>Row 1 Cell 1</td>
     <td>Row 1 Cell 2</td>
  </tr>
</table>

Open in new window

0
 
LVL 6

Expert Comment

by:MISOperations
ID: 35012276
Or you could just put this in.

<div style="border-width:4pt;border-style:solid;border-color:green;">
0
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 
LVL 7

Expert Comment

by:jrwarren
ID: 35012296
Quoting the request:
please do answer within tr tag and not use css
0
 
LVL 6

Expert Comment

by:MISOperations
ID: 35012352
@jrwarren

Thanks, like I didn't read it already...
0
 

Author Closing Comment

by:rgb192
ID: 35020455
thanks
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
css, html 5 41
Can't get the PDF Icon to appear on the webpage 1 27
Error in page 3 56
Sort Order Icons on HTML Table 3 20
Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer …
As a result of several questions about how to use Bootstrap I thought it would be a good idea to write down the development aspect of creating a Bootstrapped website in as little time as possible. Part 1 of this article will only concentrate on g…
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now