Changing individual table cell or row borders with CSS

  • Thread starter news frontiernet.net
  • Start date
N

news frontiernet.net

I have tried using the CSS border controls to make certain table cell
borders like top and left dissapear or certain table row bottom borders to
thicken, like very third row.

But, either I am not using the right syntax, or this does not work this way.

Can this sort of thing be done?

If so, does anyone have an example?
 
S

Sid Ismail

On Tue, 02 Dec 2003 23:27:37 GMT, "news frontiernet.net"

: certain table row bottom borders to
: thicken, like very third row.

..thick {border-bottom: 5px solid blue;}

then each 3rd row...
<tr class=thick>
<td..

Sid
 
N

news frontiernet.net

This sounds like it SHOULD work.

But when I plug this into FrontPage2002 by copy/paste to make sure there are
no syntax errors, it does not work.

Possibly this is not cross-browser?

Right now I dont have the example on internet. But, I can get it there
tomorrow.

Thanks tho.
 
S

Sid Ismail

On Wed, 03 Dec 2003 05:30:00 GMT, "news frontiernet.net"

: This sounds like it SHOULD work.
:
: But when I plug this into FrontPage2002 by copy/paste to make sure there are
: no syntax errors, it does not work.
:
: Possibly this is not cross-browser?
:
: Right now I dont have the example on internet. But, I can get it there
: tomorrow.


Please bottom post: post your reply at the bottom of the previous post, and
snip out irrelevanl stuff. :)

FrontPage is bad news, btw. Frontpage to the Internet is like what the CIA
is to America's image.

Provide a URL when you can?

Sid
 
N

news frontiernet.net

Sid Ismail said:
On Wed, 03 Dec 2003 05:30:00 GMT, "news frontiernet.net"

: This sounds like it SHOULD work.
:
: But when I plug this into FrontPage2002 by copy/paste to make sure there are
: no syntax errors, it does not work.
:
: Possibly this is not cross-browser?
:
: Right now I dont have the example on internet. But, I can get it there
: tomorrow.


Please bottom post: post your reply at the bottom of the previous post, and
snip out irrelevanl stuff. :)

FrontPage is bad news, btw. Frontpage to the Internet is like what the CIA
is to America's image.

Provide a URL when you can?

Sid

Here is the URL for the example where I tried to implement that idea

http://www.wgtn.net/tablecellborders/

Am I doing something wrog?
 
S

Sid Ismail

On Thu, 04 Dec 2003 01:07:25 GMT, "news frontiernet.net"

:
: : > On Wed, 03 Dec 2003 05:30:00 GMT, "news frontiernet.net"
: >
: > : This sounds like it SHOULD work.
: > :
: > : But when I plug this into FrontPage2002 by copy/paste to make sure there
: are
: > : no syntax errors, it does not work.
: > :
: > : Possibly this is not cross-browser?
: > :
: > : Right now I dont have the example on internet. But, I can get it there
: > : tomorrow.
: >
: >
: > Please bottom post: post your reply at the bottom of the previous post,
: and
: > snip out irrelevanl stuff. :)
: >
: > FrontPage is bad news, btw. Frontpage to the Internet is like what the
: CIA
: > is to America's image.
: >
: > Provide a URL when you can?
: >
: > Sid
: >
:
: Here is the URL for the example where I tried to implement that idea
:
: http://www.wgtn.net/tablecellborders/
:
: Am I doing something wrog?
:
:


Have a look:
http://www.elsid.co.za/usenet/border-bottom-thingy.html

Remove the border-collapse if you have cellspacing and cellpadding set to
zero. :)

Sid
 
N

news frontiernet.net

Sid Ismail said:
On Thu, 04 Dec 2003 01:07:25 GMT, "news frontiernet.net"

:
: : > On Wed, 03 Dec 2003 05:30:00 GMT, "news frontiernet.net"
: >
: > : This sounds like it SHOULD work.
: > :
: > : But when I plug this into FrontPage2002 by copy/paste to make sure there
: are
: > : no syntax errors, it does not work.
: > :
: > : Possibly this is not cross-browser?
: > :
: > : Right now I dont have the example on internet. But, I can get it there
: > : tomorrow.
: >
: >
: > Please bottom post: post your reply at the bottom of the previous post,
: and
: > snip out irrelevanl stuff. :)
: >
: > FrontPage is bad news, btw. Frontpage to the Internet is like what the
: CIA
: > is to America's image.
: >
: > Provide a URL when you can?
: >
: > Sid
: >
:
: Here is the URL for the example where I tried to implement that idea
:
: http://www.wgtn.net/tablecellborders/
:
: Am I doing something wrog?
:
:


Have a look:
http://www.elsid.co.za/usenet/border-bottom-thingy.html

Remove the border-collapse if you have cellspacing and cellpadding set to
zero. :)

Sid

It works!

I notice that you have attached the control to each cell on a row, rather
than to the row tag. Is there a way to do this by just attaching a control
to the row tag rather than to each cell in the row?

Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,902
Latest member
Elena68X5

Latest Threads

Top