How do I put an outline border around a table i.e. without internal borders being displayed?

How do I put an outline border around a table i.e. without internal borders being displayed?

Post by Ian » Fri, 05 Jan 2007 22:11:57


Hi

I'd appreciate some help with putting a border around a table as I'm sure
I'm not doing this the best way!

I selected my table then chose a thin (size 2) border and desired colour.

The problem is this has put a border around every cell in the table.

Trying to remove the internal borders has been very frustrating!

Just be clear, when I say "remove the internal borders" I don't want to
merge cells I just want to stop the borders displaying.

So...

Is there a quick way to simply put an outline border around the table?

What is the best method for removing internal borders?

Having got so used to the ease of formatting tables in MS Word this is a bit
of a hair puller!!

Thanks for your time.

Happy New Year!!

Ian
 
 
 

How do I put an outline border around a table i.e. without internal borders being displayed?

Post by : Nadia : » Fri, 05 Jan 2007 22:24:21

Don't use the property inspector to add the border - you will need to use
css...
examples here:
http://www.yqcomputer.com/



--
Nadia
AdobeCommunity Expert : Dreamweaver
-------------------------------------------------
Tutorials |SEO |Templates
http://www.yqcomputer.com/
-------------------------------------------------
http://www.yqcomputer.com/
-------------------------------------------------
CSS Tutorials for Dreamweaver
http://www.yqcomputer.com/
-------------------------------------------------




>> Hi >> >> I'd appreciate some help with putting a border around a table as I'm sure >> I'm not doing this the best way! >> >> I selected my table then chose a thin (size 2) border and desired colour. >> >> The problem is this has put a border around every cell in the table. >> >> Trying to remove the internal borders has been very frustrating! >> >> Just be clear, when I say "remove the internal borders" I don't want to >> merge cells I just want to stop the borders displaying. >> >> So... >> >> Is there a quick way to simply put an outline border around the table? >> >> What is the best method for removing internal borders? >> >> Having got so used to the ease of formatting tables in MS Word this is a >> bit of a hair puller!! >> >> Thanks for your time. >> >> Happy New Year!! >> >> Ian >>

 
 
 

How do I put an outline border around a table i.e. without internal borders being displayed?

Post by Stev » Fri, 05 Jan 2007 22:29:53

On Thu, 4 Jan 2007 13:11:57 -0000, "Ian R" < XXXX@XXXXX.COM >



Use CSS.

table {
border: 2px solid #FF0000;
}

adds a red 2px border to all tables. To apply it to just one then:

#redborder {
border: 2px solid #FF0000;
}

and in your page use <table id="redborder">
--
Steve
steve at flyingtigerwebdesign dot com