No replies
yzzelliot
Offline
newbie
Last seen: 12 years 1 week ago
Timezone: GMT+8
Joined: 2009-11-26
Posts: 1
Points: 2

I wish to create a dom container which fit the width of the content size.

like this...

[this is the content this is the content this is the content]
[this is the content]
[this is the content this is the content this is the content this is the content]

but not like this

[this is the content                                                   ]
[this is the content this is the content this is the content           ]

nevertheless,
It cannot be display inline or float left, just because i want to make this dom left right margin auto so it can stand at the center from its parent dom

anyone has any idea?

sorry for my poor english, hope you can read it :S

AttachmentSize
css-mydom.jpg24.55 KB