CSS, HTML:
div.mydiv {width: 200px; margin: 0 auto}
I am in the middle
Your diagram shows a block level element also (which a div usually is), not an inline one.
Of the top of my head, min-width
is supported in FF2+/Safari3+/IE7+. Can be done for IE6 using hackety CSS, or a simple bit of JS.