> > 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
>
> 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
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
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
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