473,840 Members | 1,600 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 3248
"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
2157
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 is displayed as expected.
10
5149
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 outside of it (ie. you can never see or scroll outside of the border). I would have thought this...
10
7864
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 this? I have tried even setting the height of the table and all the <td> and <tr> tags to 1 but have...
3
1598
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
2343
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 display of rows successfully with no side effects in IE6 SP1?
4
15792
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
3588
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 |<------------>| <------ table contents
7
2639
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
12106
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
5200
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 out? The embed code that I'm talking about is three quarters down the code page under {PHOTOS},...
0
9860
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9699
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10603
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10660
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9440
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
7023
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5685
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
4076
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3138
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.