lame question

They have: 406 posts

Joined: Feb 2000

Is there a way to put a border on one side of a table? I want the outside of some of my tables to be outlined but not all. Any ideas?

------------------
Adam
[email protected]

Best Regards,

Adam Lee
DigitalONE Design
President - Internet Division
[email protected]
digitalonedesign.com

They have: 31 posts

Joined: Dec 1999

No..it's not possible. However, you can play around with borders using a 1x1 or 2x2 gif (depends on the size) and use it as a bg for you table. You should set the height and width according to your needs...

Coddy

Jaiem's picture

They have: 1,191 posts

Joined: Apr 1999

You can add colors to borders, especially with style sheets. Just that some browsers don't recognize colors and styles for tables (yet).

------------------
ArtsNFlies.com
Original art, hand tied flies, unique books and gifts, free sweepstakes and MORE!
Come see what everyone is talking about!

They have: 268 posts

Joined: May 1999

How about having a cell span the col or rows and filling it with a background color on the side you want to have a border on?

I have used this to make lines separating cells on my calendar pages in the popups at shoutingrock.org/troop214/Febxx.shtml

------------------
My goal in life is found in Phillipians 4:8-9

My goal in life is found in Phillipians 4:8-9
shoutingrock.org/troop214

Vincent Puglia's picture

They have: 634 posts

Joined: Dec 1999

Hi,

Jim's got the right idea; If you have a td on left (eg) span a number of rows, you can fill it with a 1- or 2-pixel color space
It isn't a border, but would be hard to tell. Only other option is to use a gif (for verticals) & rules (for horizontal) -- which would make matching difficult.

Vinny GrassBlade: cut&paste javascript

Where the world once stood
the blades of grass cut me still

They have: 488 posts

Joined: Feb 2000

Yes, Jim and Vincent are both right,

Also make sure that your table spec is:

<TABLE WIDTH="" HEIGHT="" CELLPADDING="0" CELLSPACING='0" BORDER="0">

Or it will look horrible in Netscape.

Visit:
http://www.bignosebird.com
Everything you need to create and maintain great web sites. There are over 250 pages of tutorials, reference materials, and other resources located on this site.
http://www.htmlwizards.com
HTML, javascript, and web page design resources for you to explore. If your just getting started in web page design try the HTML tutorials. The tutorial section to cover everything related to HTML. For those of you expert HTML coders, there is a huge links section for you to find something a little more up your alley.

Hope this helps.

NSS http://www.unitronics.com

[This message has been edited by NSS (edited 23 February 2000).]

[This message has been edited by NSS (edited 23 February 2000).]

[This message has been edited by NSS (edited 23 February 2000).]

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.