Register  |  Login




Advertisement

Start Your Own Q&A Site

Create your own Q&A site easily, allowing you to quickly grow a new community around any subject matter or generate new organic traffic for your existing website.

Question

Status: Closed Points: 15 Time: 10:53 - May 25, 2006  

sbjc23

How do I put a border around a table in HTML?

I'm trying to put a blue border around a table in HTML, how do I do it?

Answer Discussion
Tutorials

 

James1

Date:: May 25, 2006

Time:: 11:03

This is a piece of cake.

Simply add a border tag and border color tag to the table tag.

Looks like this:
<table border="1" bordercolor="blue">

That should do it for you. Now, give me points.

Question Answered

This question has been closed, and points have been rewarded to the following experts:


James1: 15

You're welcome however to comment or give additional information or if you wish, you have the ability to write a Tutorial in the Tutorial Area.

Answer this Question

New User

Email:

Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address

Registered User

Username:

Password:

Forgot Your Password?

james.arnold

Date:: May 25, 2006

Time:: 11:21

Borders are easily applied to tables within HTML with the addition of attributes to the table tag.

In this case, to add a border and a border color, you simply need to add those tags to the table tag.

Example

<table border="1" bordercolor="blue">
<td>
</td>
</table>

This will show a blue border around the table. You can adjust the color and size of the border simply by changing the values between the inverted quotes. You can also accomplish this through CSS but for that tutorial you will have to go somewhere else. It is slightly more complicated.


Click here to see the Answer Discussion that preceded this tutorial.


Login to rate this tutorial: Good  |  Bad

jgivoni

Date:: Jun 06, 2006

Time:: 21:27

Borders can be added to almost any object in HTML by applying the "style" attribute to the tag.

Example

<table style="border: 1px solid blue">

Explanation:

border (the CSS attribute)
1px (the size - here in pixels)
solid (the style)
blue (the color)

Not so complicated after all...


Click here to see the Answer Discussion that preceded this tutorial.


Login to rate this tutorial: Good  |  Bad

Answer this Question

New User

Email:

Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address

Registered User

Username:

Password:

Forgot Your Password?

Ask a Question

Have a new question? Ask!

You have 100 characters to use



Top Experts

View More

Rank

Expert

Points

1.

nidhi

10279

2.

oracleofDelphi

6493

3.

rcastagna

5596

4.

LAGM

4848

5.

PeterNZ

3487

6.

gonzalo

2840

7.

Mason

2770

8.

jgivoni

2303

9.

xarcus

1820

10.

Anpanman

917

Become an Expert

Register today to share your knowledge with the community and be recognized and rewarded for your contributions.


Register Here




"Psst, Quomon is a great site. Pass it on."     Tell a Friend  |   Link To Us  |   Save to Delicious  |   Digg! Digg it



Language Options

English:

www.quomon.com

Español:

www.quomon.es