Stylegala Forums » Forums list » Problem solving
Auto width DIV problems
Auto width DIV problems
| Author | Message |
|---|---|
|
sevensamurai New member
|
Hi everyone!
I'm trying to figure out a way to accomplish something that I would think is simple, but is turning out not to be. I want a single DIV to set its width automatically to the content, and then nest a new DIV inside that with a BUNCH of content that will set its width to the same as the parent (which is to say, automatically to the less content of the parent). Is this possible? Example: <div>Headline<div>blah blah blah blah blah blah etc.</div></div> I don't know if nesting DIV's is necessarily the way to go, or if I might have to rely on some sort of Javascript to accomplish this. Any help is greatly appreciated! Thanks. |
| Sponsor | |
Page 1 of 1
Powered by phpBB. © 2001, 2006 phpBB Group & Logo Design
Post new topic
Reply to topic