Hi!
On http://festest.hullin.net/index2.php?was=nurstruktur&ausklapp=,2, (make
sure to add that last comma to the URL), you can see a basic example of a
discussion board's tree structure. Right now, I'm doing the expanded text
box as a table, such as:
<table cellpadding="0" cellspacing="0" width="634">
<tr>
<!-- first the vertical lines connecting the lower postings to the
-->
<td style="background-image: url(/bilder/senkrecht.gif);
background-repeat: repeat-y; width:18px">
</td>
<!-- then the text box itself -->
<td style="border:1px solid black;padding:3px;margin:12px;">
{TEXT}
</td>
</tr>
</table>
As I tried to convert this into CSS, I built a table-like construction using
the display property. Like:
<div style="display:table; margin:0px; padding:0px; width:634px">
<div style="display: table-row">
<div style="display: table-cell; background-image:
url(/bilder/senkrecht.gif); background-repeat: repeat-y; width:18px">
</div>
<div style="display: table-cell; border:1px solid black; padding:
3px;margin: 12px;">
{TEXT}
</div>
</div>
</div>
but in IE6, the outcome looks like this:
http://festest.hullin.net/funny.gif
The cells I'd like to have in one single row appear to have moved apart, and
I really don't know why. Isn't this exactly the way to do tables in CSS? Any
suggestions?
Regards,
Matthias
Zif - 27 Jun 2005 04:14 GMT
> Hi!
>
> On http://festest.hullin.net/index2.php?was=nurstruktur&ausklapp=,2, (make
> sure to add that last comma to the URL),
Use '<URL:>' to enclose your links, then they'll work for most news
readers.
<URL:http://festest.hullin.net/index2.php?was=nurstruktur&ausklapp=,2,>
[...]

Signature
Zif
Matthias Hullin - 27 Jun 2005 09:23 GMT
Ziv schrieb:
> <URL:http://festest.hullin.net/index2.php?was=nurstruktur&ausklapp=,2,>
Here, at least, this doesn't work - the comma is swallowed anyway. Any idea
concerning my actual problem?
Regards,
Matthias
Zif - 28 Jun 2005 02:07 GMT
> Ziv schrieb:
>
>><URL:http://festest.hullin.net/index2.php?was=nurstruktur&ausklapp=,2,>
>
> Here, at least, this doesn't work - the comma is swallowed anyway.
C'est la vie - be safe in the knowledge that others will appreciate
your efforts even if you don't benefit.
> Any idea
> concerning my actual problem?
If you believe the links below, display attributes table-row and
table-cell aren't supported by IE.
<URL:http://www.htmldog.com/reference/cssproperties/display/>
<URL:http://meyerweb.com/eric/thoughts/category/tech/css/page/3/>
One of the more knowledgeable posters should have responded by now, but
it seems they'd rather argue over whether CSS really is better than
tables than answer a fairly simple question.

Signature
Zif
Lauri Raittila - 28 Jun 2005 05:53 GMT
> Hi!
>
> On http://festest.hullin.net/index2.php?was=nurstruktur&ausklapp=,2, (make
> sure to add that last comma to the URL),
Your URL is bad if it requires , on the end. Nobody will understand it
there, don't put it there.
> you can see a basic example of a
> discussion board's tree structure. Right now, I'm doing the expanded text
> box as a table, such as:
Your problem is that you are doing wrong thing. Doing layout like that is
not too hard using CSS. What is hard is mark it up meaningfully.
Mark up your HTML, then think how to do it with CSS. I see no sence at
all for using CSS tables, this is far better to do with something
simpler. Depends a lot on your markup, for example, is that image content
or not.
I would maybe mark it up as nested lists.
> The cells I'd like to have in one single row appear to have moved apart, and
> I really don't know why. Isn't this exactly the way to do tables in CSS? Any
> suggestions?
Yes. But tables are not very useful way to do your layout, and CSS tables
don't work in IE.

Signature
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
Kohtuuhintainen yksiö/huone haussa Oulusta syyskuusta eteenpäin.
Searching places to sleep on axis Bonn - Tsech - Poland - baltic sea in
july