Forum Moderators: open

Message Too Old, No Replies

How to make "outside border only" of a table in DW

         

chopin2256

4:38 am on Jan 11, 2005 (gmt 0)

10+ Year Member



I would like to know how to make an outside border of a table only. Everytime I make a border, it makes borders around all the cell's and table.

A completely different question:
I know its possible to make shared borders in DW, but is it possible to create some pages that will not have these borders? Lets say you want to make a unique page.

stever

8:56 am on Jan 11, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



1) You could use CSS to make a table border

table {
border: 1px solid #333;
}

2) I'm not sure you mean by shared borders (but it sounds like a Front Page term). Maybe you could explain what you are doing in DW to create "shared borders".

chopin2256

8:23 pm on Jan 11, 2005 (gmt 0)

10+ Year Member



Shared borders as in headers and footers.

zander213

6:28 pm on Jan 13, 2005 (gmt 0)

10+ Year Member



I think you need to select the table... not the cell... and then apply the css style to that table. Then you will get a table with the outer border, but the cells will not have borders.

stever

9:02 pm on Jan 13, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



chopin2256, if you mean templated headers and footers, then create a page which is not from a template. If you mean, css-styled headers and footers, change the css for that page by using styles in the head of that page rather than external css files. But I'm still not exactly clear what you mean by "shared borders" since it isn't a DW term.

zander213, the example I gave will give every table a grey border without selecting or applying anything. If it is a specific table or tables that one wanted to alter one could create a class, such as table.border, with the same properties and then add the following properties in the html <table class="border">, which is what you may have been referring to.

mastervisa

8:00 pm on Jan 16, 2005 (gmt 0)

10+ Year Member



To answer your first question, I've only used Dreamweaver 2.0 3.0 4.0, and I could never put a border only on the outside of a table with cells. One way around would be to put a table in a table, and put a border on the outside table, if you had to.