1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
6 <title>CSS Test: replaced elements - margin
</title>
8 <link rel=
"author" title=
"GĂ©rard Talbot" href=
"http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
9 <link rel=
"help" href=
"http://www.w3.org/TR/CSS21/visudet.html#block-replaced-width">
10 <meta name=
"flags" content=
"">
11 <meta name=
"assert" content=
"Block-level, replaced elements with margin-left: auto and margin-right: auto should be centered within their respective parent block">
13 <style type=
"text/css">
16 background-color: green
;
22 background-color: orange
;
34 <p>Below, there should be
2 orange boxes horizontally centered within their respective green bars.
</p>
37 <input type=
"button" value=
"">
42 <input type=
"submit" value=
"">