The following HTML:
A div - like any other block-element - generally takes 100% of the available width. Because you limited the width (with max-width) to 200px, the div will have 200px. and
are inline elements. They still have a width, because every element has a default width.
To solve your problem: if you want the and
fields to be as wide as your div, you'll have to change the
width
-attribute, not the max-width
one.
Leaving out the "max" will make them all equally wide.