[thelist] Shrink wrapping a div?

Maximillian Schwanekamp anaxamaxan at neptunewebworks.com
Thu May 13 13:52:51 CDT 2004


I'm drawing a blank here, though it must be a stupid question. Can someone
smack me around and show me how to make a div "shrink wrap" around its
content?  I.e. If I put Xpx-wide element inside the div, I want the div to
be Xpx wide (plus padding and border), not 100% of the content width for its
parent.

Maximillian Von Schwanekamp
Dynamic Websites and E-Commerce
NeptuneWebworks.com
voice: 541-302-1438
fax: 208-730-6504




More information about the thelist mailing list