Previous Message
Next Message

Help with seven column layout.

Sent by Ashley Penney on 8 August 2004 19:07


Hi there,

I've been tinkering in my spare time with rewriting some heavily table 
based HTML.  I'm a little stuck however, and all my attempts to get 
anything sensible are failing.

As an example of what I'm converting, 
http:/www.untaken.net/sa-ng/forumdisplay.php.htm is the old code.

If you wade through the html, there's basically a table, and each row 
has seven cells.  Of those, the first is 60px, the second is 100%, the 
third is 20% and the rest unsized.

The reason for the weird way the table is constructed is to force the
thread title to expand the table to the width of the page.  I haven't 
found a way to replicate this using CSS at all.

I was basically using seven <span>'s, and trying to add sizes to them. 
However, when I use spans I have no luck with properties like min-size 
and so forth.  I can't use div's because of the linebreak (and if I set 
them to display: inline;, the widths stop working).

http://untaken.net/sa-ng/ is the latest I got to with experimentation,
I basically was trying to use a div and floats to achieve the effect.

So, what I'm hoping is someone can tell me how they'd achieve this!  The 
table has to expand to the width of the page, with only the thread title 
column doing the expanding.

[I only just signed up for the list, so I hope these kinds of questions 
are ok!]

-- 
Ashp
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: