I help maintain a static website that compliments a magazine.  The
magazine posts a wide variety of articles from their magazine on their
website.
 
Most of these articles are written in the same format as a newspaper,
i.e. they have picture inserts with text below them.
 
This is where my problem exists.
 
I want to create a standard DIV that will accompany the image size (and
the image size could any size, it varies often), but not allow the text
below the image to extend beyond the edges of the image width.
 
If I create a DIV with a set width, it works.  However, I need to create
a DIV that can be placed in an external style sheet and used over and
over again.
 
A link to a sample page this is:
 
http://www.twmag.com/renegade-roads/rroads-08-05.htm
 
In this page you can see several images where the text does not extend
beyond the image edges.  These images are placed in DIVs and floated
right or left.
 
 
I have tried numerous variations on this and have yet to find something
that works.  Setting the DIV at a small width doesn't work, nor does
setting the DIV to width:auto.
 
Is this even possible?
 
 
Thank you for the help!
 
 
 
Jason
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
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/

Reply via email to