To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.publishOpen lugnet.publish in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Publishing / 3005
3004  |  3006
Subject: 
Re: HTML/CSS Table Question
Newsgroups: 
lugnet.publish, lugnet.publish.html
Date: 
Sat, 13 Oct 2001 02:39:44 GMT
Viewed: 
2063 times
  
Hmm, so you want each cell to have a border of 1 px? What I gave you should
just give you a general border around the entire table.

--Kyle
http://hvl.cjb.net

In lugnet.publish, Tim Courtney writes:
"Kyle Keppler" <kindustries@mediaone.net> wrote in message
news:GL4GCt.8ur@lugnet.com...
In your stylesheet put:

table{border: 1px solid #color}

Change color to what ya want. Just setting the borderwidth to 1 in the • table
tag may work too...

I figgered that much out so far - but here's one for you....

You have to put style="border: 1px black solid" in each TD cell (I'm not
using a separate CSS file) to give each cell the border you want it to have.
Anyways, if two cells butt up to each other, the line is double thickness.
Is there any way to turn some sides on and others off, or better yet, is
there a better solution to this mess?

Maybe I should try the outside CSS file, I'll see how that works.

Thanks

-Tim



Message has 2 Replies:
  Re: HTML/CSS Table Question
 
If you put "border=1" in the table tag, you get a 2 pixel border. Is that good enough? If you really wanted, you could nest the table within another table and set the outer table's background color to the border color and it's padding to 1. Then set (...) (23 years ago, 13-Oct-01, to lugnet.publish, lugnet.publish.html)
  Re: HTML/CSS Table Question
 
"Kyle Keppler" <kindustries@mediaone.net> wrote in message news:GL4I28.DIB@lugnet.com... (...) should (...) Yeah, I want each cell to have a 1px border.....any way to do that (without neighboring cells having a double border)? -Tim (23 years ago, 13-Oct-01, to lugnet.publish, lugnet.publish.html)

Message is in Reply To:
  Re: HTML/CSS Table Question
 
"Kyle Keppler" <kindustries@mediaone.net> wrote in message news:GL4GCt.8ur@lugnet.com... (...) table (...) I figgered that much out so far - but here's one for you.... You have to put style="border: 1px black solid" in each TD cell (I'm not using a (...) (23 years ago, 13-Oct-01, to lugnet.publish, lugnet.publish.html)

10 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR