473,569 Members | 2,555 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

border-collapse:collap se and seperates; Can you have it both ways in one table?

Here's what I'm trying to do:

Create a table with generic style property [ border-collapse:sepera te; ].
Have a few table cells in the thead that 'have to' melt into eachother, so
needing the style [ border-collapse:collap se; ].

Looking somthing like:

,------------.------------.
| | header |
| other | one | two |
|============|= =====|=====|
| data data | 1,25 | aA |
|------------|------|-----|
| more data | 2,50 | aB |
`------------'------'-----'

See how 'header' and 'one' and 'two' more or less optically melt into
eachother?

I've setup a test page at
<URL:http://www.pretletters .net/_test/testing_data_ta bles.REKAM_freq uenties.html>
(styles in the page). In the head of the table on that page the cells that
I optically want to melt into one are 'TV-station' and 'kort' and
'volledig'.

How can I achieve the look I want?

--
______PretLette rs:
| weblog | http://www.pretletters.net/weblog/weblog.html |
| webontwerp | http://www.pretletters.net/html/webontwerp.html |
|zweefvliegen | http://www.pretletters.net/html/vliegen.html |
Mar 5 '06 #1
16 3207
"Barbara de Zoete" <tr******@pretl etters.net> wrote:
Looking somthing like:

,------------.------------.
| | header |
| other | one | two |
|============|= =====|=====|
| data data | 1,25 | aA |
|------------|------|-----|
| more data | 2,50 | aB |
`------------'------'-----'
Real content please.
See how 'header' and 'one' and 'two' more or less optically melt into
eachother?

I've setup a test page at
<URL:http://www.pretletters .net/_test/testing_data_ta bles.REKAM_freq uenties.html>
(styles in the page). In the head of the table on that page the cells that
I optically want to melt into one are 'TV-station' and 'kort' and
'volledig'.


I'm probably missing something as I don't see the problem:
http://homepage.ntlworld.ie/spartanicus/temp.htm

--
Spartanicus
Mar 5 '06 #2
On Sun, 05 Mar 2006 16:43:41 +0100, Spartanicus <in*****@invali d.invalid>
wrote:
"Barbara de Zoete" <tr******@pretl etters.net> wrote:
Looking somthing like:

,------------.------------.
| | header |
| other | one | two |
|============|= =====|=====|
| data data | 1,25 | aA |
|------------|------|-----|
| more data | 2,50 | aB |
`------------'------'-----'


Real content please.


As I provided with the url, didn't I.
See how 'header' and 'one' and 'two' more or less optically melt into
eachother?

I've setup a test page at
<URL:http://www.pretletters .net/_test/testing_data_ta bles.REKAM_freq uenties.html>
(styles in the page). In the head of the table on that page the cells
that
I optically want to melt into one are 'TV-station' and 'kort' and
'volledig'.


I'm probably missing something as I don't see the problem:
http://homepage.ntlworld.ie/spartanicus/temp.htm


Well, I do see the problem: the vertical borders of the cell containing
'TV-station' don't connect with the vertical borders of the two cells in
the next row (in both Opera8.5 and FF1.5). There's a 2px gap. The
cellspacing="2" probably does that, as does the border-collapse:separa te;
in my example.
--
______PretLette rs:
| weblog | http://www.pretletters.net/weblog/weblog.html |
| webontwerp | http://www.pretletters.net/html/webontwerp.html |
|zweefvliegen | http://www.pretletters.net/html/vliegen.html |
Mar 5 '06 #3
"Barbara de Zoete" <tr******@pretl etters.net> wrote:
Real content please.


As I provided with the url, didn't I.


And not in the message text didn't you.
I'm probably missing something as I don't see the problem:
http://homepage.ntlworld.ie/spartanicus/temp.htm


Well, I do see the problem: the vertical borders of the cell containing
'TV-station' don't connect with the vertical borders of the two cells in
the next row (in both Opera8.5 and FF1.5). There's a 2px gap. The
cellspacing="2 " probably does that, as does the border-collapse:separa te;
in my example.


So you've answered your own question right?
http://homepage.ntlworld.ie/spartanicus/temp.htm (updated)

--
Spartanicus
Mar 5 '06 #4
On Sun, 05 Mar 2006 17:05:28 +0100, Spartanicus <in*****@invali d.invalid>
wrote:
"Barbara de Zoete" <tr******@pretl etters.net> wrote:
Real content please.


As I provided with the url, didn't I.


And not in the message text didn't you.


And the problem with that is?
I'm probably missing something as I don't see the problem:
http://homepage.ntlworld.ie/spartanicus/temp.htm


Well, I do see the problem: the vertical borders of the cell containing
'TV-station' don't connect with the vertical borders of the two cells in
the next row (in both Opera8.5 and FF1.5). There's a 2px gap. The
cellspacing="2" probably does that, as does the
border-collapse:separa te;
in my example.


So you've answered your own question right?
http://homepage.ntlworld.ie/spartanicus/temp.htm (updated)


Nice, but now the cellspacing throughout the table is gone. I want the
cellspacing, just not for those three cells. Looks like that cannot be
done. Neither with markup attributes/values or with css. Right?

Bummer...
--
______PretLette rs:
| weblog | http://www.pretletters.net/weblog/weblog.html |
| webontwerp | http://www.pretletters.net/html/webontwerp.html |
|zweefvliegen | http://www.pretletters.net/html/vliegen.html |
Mar 5 '06 #5
"Barbara de Zoete" <tr******@pretl etters.net> wrote:
Real content please.

As I provided with the url, didn't I.
And not in the message text didn't you.


And the problem with that is?


That I had to retrieve the remote document where there should have been
no need for me to do so.
I want the cellspacing


It's obvious that you are intent on making it difficult to be helped by
withholding information, as a regular you should know better. I'm not
going to try and drag it out of you by asking why. Good luck.

--
Spartanicus
Mar 5 '06 #6
Barbara de Zoete wrote:
Here's what I'm trying to do:

Create a table with generic style property [ border-collapse:sepera te; ].
Have a few table cells in the thead that 'have to' melt into eachother, so
needing the style [ border-collapse:collap se; ].

Like this?:
<http://sohnen-moe.com/test/t.html>

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Mar 5 '06 #7
On Sun, 05 Mar 2006 21:36:36 +0100, Jim Moe
<jm************ ***@sohnen-moe.com> wrote:
Barbara de Zoete wrote:
Here's what I'm trying to do:
Create a table with generic style property [ border-collapse:sepera te;
].
Have a few table cells in the thead that 'have to' melt into eachother,
so
needing the style [ border-collapse:collap se; ].

Like this?:
<http://sohnen-moe.com/test/t.html>


Nice try, but no, that is not it. That solid border is something quite
different from the separate inset borders I'm after. I know the 'ascii-art
thingy' didn't have separate borders, but the example at
<URL:http://www.pretletters .net/_test/testing_data_ta bles.REKAM_freq uenties.html>
does. And the text explains it too.

Thanks for trying though.

Anyone else wants to have a go at this? It seems so simple a task, and
yet...

--
______PretLette rs:
| weblog | http://www.pretletters.net/weblog/weblog.html |
| webontwerp | http://www.pretletters.net/html/webontwerp.html |
|zweefvliegen | http://www.pretletters.net/html/vliegen.html |
Mar 6 '06 #8
On Sun, 05 Mar 2006 21:19:22 +0100, Spartanicus <in*****@invali d.invalid>
wrote:
"Barbara de Zoete" <tr******@pretl etters.net> wrote:
> Real content please.

As I provided with the url, didn't I.

And not in the message text didn't you.


And the problem with that is?


That I had to retrieve the remote document where there should have been
no need for me to do so.


That's a rather weird response comming from you. If no URL is provided in
a request for help, the only response people get from especially you is
'Please provide URL'. The complaint in that case being 'I had to copy and
past your content from your post to a text document, save it as html and
then open it in my browser.'
Now a URL *is* provided and you come back with 'I had to retrieve the
remote document'. Please make up your mind to what you prefer.
I want the cellspacing


It's obvious that you are intent on making it difficult to be helped by
withholding information,


See, that's why I provided the URL,

<URL:http://www.pretletters .net/_test/testing_data_ta bles.REKAM_freq uenties.html>

because in that example it is obvious I want some cellspacing. Helping
myself by helping those who _want_to_help_ by providing a live example is
exactly what one is supposed to do.

Don't be so grumpy Spartanicus. There is absolutely no reason to be like
this. It is a rather tough puzzle and I can't solve it, and by the looks
of it, neither can you. That's okay. It's just a puzzle.
--
______PretLette rs:
| weblog | http://www.pretletters.net/weblog/weblog.html |
| webontwerp | http://www.pretletters.net/html/webontwerp.html |
|zweefvliegen | http://www.pretletters.net/html/vliegen.html |
Mar 6 '06 #9
"Barbara de Zoete" <tr******@pretl etters.net> wrote:
>> Real content please.
>
> As I provided with the url, didn't I.

And not in the message text didn't you.

And the problem with that is?
That I had to retrieve the remote document where there should have been
no need for me to do so.


That's a rather weird response comming from you. If no URL is provided in
a request for help, the only response people get from especially you is
'Please provide URL'. The complaint in that case being 'I had to copy and
past your content from your post to a text document, save it as html and
then open it in my browser.'
Now a URL *is* provided and you come back with 'I had to retrieve the
remote document'.


This type of question on presentation does not benefit from uploaded
example code, an in-message ascii drawing or uploaded graphic drawing is
required to know what is wanted. [1]

I didn't see any problem in creating the look you wanted, so I created a
test case to make sure. It provided the look as set out per your
requirements, and then I thought "hold on, is this correct markup?", I
then had to retrieve the example code to see if that contained real
content, and in the process noticed that the ascii drawing was not what
you were actually trying to do.

[1] Accompanied with any further requirements that cannot be expressed
in a drawing, and the reason for same, both you failed to provide.
I want the cellspacing


It's obvious that you are intent on making it difficult to be helped by
withholding information,


See, that's why I provided the URL,

<URL:http://www.pretletters .net/_test/testing_data_ta bles.REKAM_freq uenties.html>

because in that example it is obvious I want some cellspacing.


It may be to you, it's a mystery to me.
Don't be so grumpy Spartanicus.
Pot, kettle.
It is a rather tough puzzle and I can't solve it, and by the looks
of it, neither can you.


Solving a puzzle requires having all the pieces, you are continuing to
withhold required pieces.

--
Spartanicus
Mar 6 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
2136
by: Carl Gilbert | last post by:
Hi I am currently writing a site that utilises tables. I have one page that links to a second page. The only problem is that when I link to the second page, the table loads up with a different height than was set in the code. However, when I use the navigation buttons in IE to go back and then forward again to the second page, the table...
10
5126
by: Vigil | last post by:
I am trying to put a 7px border around a page. If the contents don't fill up the viewport, then the border must appear all around the viewport. If the page is larger than the viewport, then the border must wrap around the contents. Both should result in the border around the complete page, no matter the size, so that none of the bgcolor bleeds...
10
7833
by: John | last post by:
I have a table with two rows. On the first row is a text box and in the second row is an image. I have set the table cellpadding to 0 and cellspacing to 0. The table is leaving extra spaces in the rows on the top and bottom of the picture and image. I need to make the height of the rows to be the same as the textbox and image. How do I do...
3
1573
by: Craig | last post by:
Quick question. I have HTML tables that get created on the fly. The size of rows/columns depends on the report the user is looking at. What I want to do is take more control over the look/feel of the tables. Is this possible?
5
2324
by: Marek Mänd | last post by:
Please explain to a experienced fool like me, how to hide table rows correctly at this case. http://marekmand.kuubik.ee/iebug_canthide_table_rows_properly.htm Click on the header "label" and see how IE6 SP1 draws the borders wrongly. How it can be patched? Does that mean, that with the collapsed border table model one cannot set the...
4
15770
by: Manuel Faux | last post by:
Hello! I used the "File Upload - Validator" and the result is like the following: Line 13, column 204: there is no attribute "border" ....irefox!" title="Get Firefox!" border="0" /></a></p> You have used the attribute named above in your document, but the document type you are using does not support that attribute for this
11
3560
by: Norman L. DeForest | last post by:
Am I misunderstanding the CSS specifications or is Firefox (version 1.0.6) (and Opera) doing the wrong thing? It appears that Firefox 1.0.6 includes the border in width calculations for tables but not in height calculations. Oh, and Opera version 8.02 does the same thing. |<-->| |<-->| <------ border |<------------>| ...
7
2608
by: Shawn B. | last post by:
Greetings, I am trying to create a table that has a scrolling body. The problem I'm experiencing is that if the columns in the "body" part of the table exceed the width of the "header" then they columns lose their alignment. Can anyone help me correct this?
8
12086
by: UJ | last post by:
I have a table with multiple cells and I want to draw a box around the entire table but not around the individual cells. How do I do that? TIA - Jeff.
1
5189
by: MissMarie | last post by:
I've been playing around with DIV tables in myspace to better learn how to rewrite my own code for my business site without having to pay someone to design it. I've tried embedding a slideshow into a div table and after I save it I noticed that the slideshow does not show up and the embed code I added is altered. Can anyone help me figure this...
0
7701
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7924
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8130
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
5514
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5219
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3653
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3643
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1223
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
940
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.