Hi,
You helped get the bottom border on the td cells for me, but now there
is a tiny gap in between each cell on this border.
How do I get rid of that? http://marketingpwt.aem.cornell.edu/members.htm
Thanks again. This page is still in the design phase.
Steve 10 1786
"Steve K" <sm***@cornell.edu> wrote in message
news:sm*************************@newsstand.cit.cor nell.edu... Hi,
You helped get the bottom border on the td cells for me, but now there is a tiny gap in between each cell on this border.
How do I get rid of that?
http://marketingpwt.aem.cornell.edu/members.htm
I find it goes away if I put cellspacing="0" in the <table> tag, though you
shouldn't have to do that. However, setting padding and margins to 0 in the
style has no effect, nor does explicitly setting left and right borders on
the cells to "none". So I'm puzzled too.
Steve K wrote: You helped get the bottom border on the td cells for me, but now there is a tiny gap in between each cell on this border.
How do I get rid of that?
table { border-collapse: collapse; }
--
David Dorward <http://dorward.me.uk/>
Harlan Messinger wrote: However, setting padding and margins to 0 in the style has no effect,
Becuase padding is INSIDE the borders and table cells don't have margins.
nor does explicitly setting left and right borders on the cells to "none".
Becuase space between borders isn't a border.
--
David Dorward <http://dorward.me.uk/>
"David Dorward" <do*****@yahoo.com> wrote in message
news:c0*******************@news.demon.co.uk... Harlan Messinger wrote:
However, setting padding and margins to 0 in the style has no effect,
Becuase padding is INSIDE the borders and table cells don't have margins.
nor does explicitly setting left and right borders on the cells to "none".
Becuase space between borders isn't a border.
Well, beyond margin, padding, and a border in any one direction, there
aren't, as far as I know, any other components to a box's dimensions to
consider! Yet cellspacing="0" does make the gap go away, so what is
cellspacing as distinct from CSS margins, padding, or border? And this isn't
an IE quirk--the identical situation exists in Firebird.
"Harlan Messinger" <h.*********@comcast.net> wrote in message
news:c0*************@ID-114100.news.uni-berlin.de... "David Dorward" <do*****@yahoo.com> wrote in message news:c0*******************@news.demon.co.uk... Harlan Messinger wrote:
However, setting padding and margins to 0 in the style has no effect, Becuase padding is INSIDE the borders and table cells don't have
margins. nor does explicitly setting left and right borders on the cells to
"none". Becuase space between borders isn't a border.
Well, beyond margin, padding, and a border in any one direction, there aren't, as far as I know, any other components to a box's dimensions to consider! Yet cellspacing="0" does make the gap go away, so what is cellspacing as distinct from CSS margins, padding, or border? And this
isn't an IE quirk--the identical situation exists in Firebird.
I remember reading an Eric Meyers book a while back that specifically
mentioned there was no CSS equivalent to cellspacing. I don't remember the
details of it, but I do remember that he recommended keeping
cellspacing="0".
Regards,
Peter Foti
Harlan Messinger wrote: Well, beyond margin, padding, and a border in any one direction, there aren't, as far as I know, any other components to a box's dimensions to consider! Yet cellspacing="0" does make the gap go away, so what is cellspacing as distinct from CSS margins, padding, or border?
Its to do with the grid layout of a table.
Take the following example:
....
<tr><td class="a">a</td><td class="b">b</td><td class="c">c</td></tr>
<tr><td class="d">d</td><td class="e">e</td><td class="f">f</td></tr>
<tr><td class="g">a</td><td class="g">a</td><td class="g">a</td></tr>
Then if we had:
..e { margin: 100px; }
..b { margin: 0px; }
The grid would fall apart.
Hence: border-collapse and border-spacing. http://www.w3.org/TR/CSS2/tables.html
--
David Dorward <http://dorward.me.uk/>
Peter Foti wrote: I remember reading an Eric Meyers book a while back that specifically mentioned there was no CSS equivalent to cellspacing. I don't remember the details of it, but I do remember that he recommended keeping cellspacing="0".
Either wrong or just out of date (maybe Eric[1], maybe your memory).
border-spacing and border-collapse (although MSIE doesn't support
border-spacing yet). http://www.w3.org/TR/CSS2/tables.html
[1] Unlikely to be wrong about this, which leaves 3 options :)
--
David Dorward <http://dorward.me.uk/>
Quoth the raven named Steve K: Hi,
You helped get the bottom border on the td cells for me, but now there is a tiny gap in between each cell on this border.
How do I get rid of that?
http://marketingpwt.aem.cornell.edu/members.htm
After all the conversation about borders and collapse and stuff, I
remember an old hack I've seen. Drop the vertical padding and insert
one of these between each real row.
<tr><td><hr></td></tr>
As I said, a hack... <g> Nice page, btw.
--
-bts
-This space intentionally left blank.
Harlan Messinger wrote: "Steve K" <sm***@cornell.edu> wrote ... there is a tiny gap in between each cell on this border.
http://marketingpwt.aem.cornell.edu/members.htm
I find it goes away if I put cellspacing="0" in the <table> tag, though you shouldn't have to do that.
You will if you want to support IE5/Mac.
--
Brian (follow directions in my address to email me) http://www.tsmchughs.com/
David Dorward wrote: Peter Foti wrote:
I remember reading an Eric Meyers book a while back that specifically mentioned there was no CSS equivalent to cellspacing. I don't remember the details of it, but I do remember that he recommended keeping cellspacing="0".
Either wrong or just out of date
Or to support IE5/Mac.
--
Brian (follow directions in my address to email me) http://www.tsmchughs.com/ This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: fig000 |
last post by:
Hi,
I'm relatively new to Javascript so please bear with me on what
might sound like silly questions.
This is what I want to do:
I'm working in classic asp (I have to for this project). I...
|
by: nospam |
last post by:
THIS IS the DOTNETJUNKIES MESSAGE
-------------------------
We're Sorry
As many of you know we have recently launched SqlJunkies.com. We have
overhauled our runtime and will be using it on...
|
by: anon |
last post by:
Post Forwarding question......
For this control below,
<asp:Button runat="server" PostTargetUrl="page2.aspx" />
The Attribute: PostTargetUrl="page2.aspx"
Is this PostTargetUrl Attribute...
|
by: Randell D. |
last post by:
Folks,
I'm sure this can be done legally, and not thru tricks of the trade - I
hope someone can help.
I'm writing a 'tool' (a function) which can be used generically in any
of my projects. ...
|
by: Paul Cochrane |
last post by:
Hi all,
I've got an application that I'm writing that autogenerates python code
which I then execute with exec(). I know that this is not the best way to
run things, and I'm not 100% sure as to...
|
by: Sebastian Hiller |
last post by:
Hello,
i'm new to .Net (i'm using VB as language and i'm working in the
code-behind mode) and i can't solve the following problem:
I have a WebForm and want to Add a UserControl...
|
by: Brad |
last post by:
I have another hopefully simple question. I am so used to writing VB .Net
windows apps that there are some things in ASP .Net that just does not easily
cross over. I know how to pass variables to...
|
by: Eric_Dexter |
last post by:
def simplecsdtoorc(filename):
file = open(filename,"r")
alllines = file.read_until("</CsInstruments>")
pattern1 = re.compile("</")
orcfilename = filename + "orc"
for line in alllines:
if not...
|
by: SM |
last post by:
Hello,
I have a simple question, but can't find the answer.
I have a string that contains a path to a file
I want to add another string to the end of that string
So, if i have :
path =...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |