close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Removing cell borders while keeping a table border

Thread began 2/01/2010 12:07 pm by getwords399597 | Last modified 2/01/2010 2:29 pm by neilo | 711 views | 1 replies |

getwords399597

Removing cell borders while keeping a table border

Is there any way (w/ DW CS4) to keep a border around the whole table, but remove borders between certain cells in the table.

I have tried a border = 0 command inside the cell statements, but that didn't seem to work.

Thanks!

Sign in to reply to this post

neilo

Yes there is.

Create your table, and apply whatever cell spacing and cell padding you like.

Cleate a new class for your table. You can either do that by clicking the little plus button at the bottom-right of your css styles properties panel, and in the window that opens for 'selector type', choose 'class', give it a name (i.e. tableborder) and click 'OK'

In the window that opens, choose 'border', and in the 'top' row, select the properties you want for your border - i.e. solid 1px #000 - and click 'OK.

Back in design view, select your table and from the 'class' list in the properties panel/inspector select the style you just created to apply it to your table.

Either that, or you could just add the class to your stylesheet, or inside a style tag in the head of your page directly:

.tableborder {
border: solid 1px #000;
}

and that will appear in the class list in your properties panel, so add it as above.

Incidentally, you can apply the class you created to practically any html element in your pages.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...