Solved

border between rows

Posted on 2011-03-01
6
337 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Industry Leaders: 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
 

Author Closing Comment

by:rgb192
ID: 35020455
thanks
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Effective CSS style applied to an element 5 47
Search Box CSS Question 16 50
Anchor Bookmark 6 34
In wordpress, how did they do that? 3 17
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... …
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

710 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