HighDots Forums  

How to do a multicolumn layout where the columns size to fit the contents?

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss How to do a multicolumn layout where the columns size to fit the contents? in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Alan Silver
 
Posts: n/a

Default Re: How to do a multicolumn layout where the columns size to fit the contents? - 01-29-2006 , 03:30 PM






Quote:
No that was a too fast a shoot.
Ah, that explains why it didn't work <g>

Thanks anyway.

--
Alan Silver
(anything added below this line is nothing to do with me)


Reply With Quote
  #12  
Old   
Alan Silver
 
Posts: n/a

Default Re: How to do a multicolumn layout where the columns size to fit the contents? - 01-29-2006 , 03:32 PM






Quote:
It could be that CSS simply isn't up to this yet and I'm going to
have to stick with tables a while longer. If anyone has any idea,
please reply. TIA.


I have also fought with this one and haven't found a way to do what you
are referring to except for the use of em references. The only way
I've found is to determine the content width of the left column in ems,
then set the width using ems and set the margin of the right column
also using ems. It's not automatic sizing, but it is based upon your
content changing size with font changes.

I know it's not exactly what you're looking for but I do hope this
helps.
Thanks for the reply, I was afraid this was going to be the answer.

The reason why it's such a problem is that the links can be changed at
will by the site owner, so I have no way of knowing in advance what
length the link text will be. With the table layout, this didn't matter
as the links column would just take as much space as it needed and no
more. With a CSS approach, it looks like I would have to guess, which is
a certainty that I would get it wrong fairly often!!

Thanks anyway.

--
Alan Silver
(anything added below this line is nothing to do with me)


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.