Hello all, I have the below link to a problem. I have an absolute page and container width, but I have a div inside the container that I need centered no matter how wide that contained div is. How can I make the contained div only as wide as its content and center it?
http://mindarc.com/capture.JPG Hope this is understandable. Thanks. On Thu, Mar 28, 2013 at 4:34 PM, J.C. Berry <jcharlesbe...@gmail.com> wrote: > Hello all, > I have the attached problem. I have an absolute page and container width, > but I have a div inside the container that I need centered no matter how > wide that contained div is. How can I make the contained div only as wide > as its content and thereby center it? > > Hope this is understandable. Thanks. > > -- > J.C. Berry, M.A. > UI Developer > 619.306.1712(m) > jcharlesbe...@gmail.com > portfolio: http://www.mindarc.com > > ------------------------------------------------------------------------------------------------------------------------------------------------ > > This E-mail is covered by the Electronic Communications Privacy Act, 18 > U.S.C. ?? 2510-2521 and is legally privileged. This information is > confidential information and is intended only for the use of the individual > or entity named above. If the reader of this message is not the intended > recipient, you are hereby notified that any dissemination, distribution or > copying of this communication is strictly prohibited. > ------------------------------------------------------------------------------------------------------------------------------------------------ > > -- J.C. Berry, M.A. UI Developer 619.306.1712(m) jcharlesbe...@gmail.com portfolio: http://www.mindarc.com ------------------------------------------------------------------------------------------------------------------------------------------------ This E-mail is covered by the Electronic Communications Privacy Act, 18 U.S.C. ?? 2510-2521 and is legally privileged. This information is confidential information and is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. ------------------------------------------------------------------------------------------------------------------------------------------------ ______________________________________________________________________ css-discuss [css-d@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/