Re: [css-d] computing sidebar width

2005-11-22 Thread [EMAIL PROTECTED]
> > I have a block that contains dynamically > generated text, and an image. > > I would like the width of this block to be > determined by its textual > > contents, and the image scaled to fit that > width. Any ideas? > > > > Nicolas > > img { width:100%; } > > C Montoya No, it doesn't work wit

Re: [css-d] computing sidebar width

2005-11-22 Thread Christian Montoya
> > Let me summarize: > > I have a block that contains dynamically generated text, and an image. > I would like the width of this block to be determined by its textual > contents, and the image scaled to fit that width. Any ideas? > > Nicolas img { width:100%; } -- -- C Montoya christianmontoya.c

Re: [css-d] computing sidebar width

2005-11-22 Thread [EMAIL PROTECTED]
David Dorward <[EMAIL PROTECTED]> wrote: > > On 21/11/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Ideally, I'd like the sidebar width to adjust automatically to its > > contents, as in table-based design (oops... sorry for using a rude > > word :) but I don't think it's possible in CSS2

Re: [css-d] computing sidebar width

2005-11-21 Thread David Dorward
On 21/11/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > What is the recommended method to choose the width of a navigation > sidebar with dynamic contents? Its rather subject to personal preference. I generally specify a width in ems, generally around 12-15 of them, and avoid overlong strings

[css-d] computing sidebar width

2005-11-21 Thread [EMAIL PROTECTED]
Hello all, I am new here. I expected to find an answer to my question on the wiki but I didn't, so here it is. What is the recommended method to choose the width of a navigation sidebar with dynamic contents? Ideally, I'd like the sidebar width to adjust automatically to its contents, as in tabl