Register  |  Login

Question Details    

   Question

Time: 10:53 - May 25, 2006     Asked by: sbjc23      Status: Answered      Points: 15   

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?

Ask a New Question

Become a Quomon Expert

Current Categories

 

Similar Questions


   

Answer Discussion
Answer Discussion
Answer Summaries
Answer Summary
 
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.

Expert:

James1

Date:

May 25, 2006

Time:

11:03

 

Votes: Good (0) | Bad (0)
Login to rate this answer

Question Answered

This question has been answered, 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 an Answer Summary for this question by clicking on the "Answer Summaries" Tab.


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 summary.

Expert:

james.arnold

Date:

May 25, 2006

Time:

11:21

 
 

Login to rate this summary: Good  |  Bad


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 summary.

Expert:

jgivoni

Date:

Jun 06, 2006

Time:

21:27

 
 

Login to rate this summary: Good  |  Bad

Respond to 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:


Forgotten Password

 

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:


Forgotten Password
   

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


All Questions


Language Options

English:

www.quomon.com

Español:

www.quomon.es

Sponsors

Questions and Answers Software
Real Estate Postcards
Marketing Fulfillment