?
Solved

border between rows

Posted on 2011-03-01
6
Medium Priority
?
352 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 2000 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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
 
LVL 1

Author Closing Comment

by:rgb192
ID: 35020455
thanks
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Question has a verified solution.

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

CSS3 Custom checkboxes This article shows how to style the checkbox form element using only CSS. Works in: Chrome, FF, Safari, Opera, IE9+ Uses modernizr.js to check for :checked pseudo class, falling back to plain old checkboxes (IE8 and bel…
When writing CSS, there are a few simple rules that will make your life easier.    1. Using ‘* {box-sizing:border-box;}’. Using this will wrap all your elements in a nice little compact box-model that will give you the width you want, like so... …
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses
Course of the Month9 days, 22 hours left to enroll

569 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