- From: Konstantin Riabitsev <graf@relhum.org>
- Date: Mon, 10 Apr 2000 23:54:57 -0400 (EDT)
- To: www-style@w3.org
Hello: I have a question. Consider this structure: <div id="parentDiv" style="text-align: center; width: 100%"> <div id="childDiv" style="width: 50%"> Div Contents here. </div> </div> I've read the specification, and it says that when "text-align: center" is specified, all _inline_ content is aligned accordingly. However, it doesn't say what happens to block elements. Now, IE 5.5 would align "childDiv" in the middle of the page (it's half the parentDiv, so the alignment would be 25%-50%-25%). However, Mozilla-5 doesn't and I first noted that as a bug, but now that I think about it, I'm not sure. Please clarify how childDiv should be handled -- should it be aligned in the center of the page, or to the default (left). My Mozilla bug report (should you want to see it) is at http://bugzilla.mozilla.org/show_bug.cgi?id=35348 If Mozilla doesn't handle this as it should, it would be great if you let this be known on the above bugzilla page. If it does, then it's Explorer's glitch and should be handled by Microsoft. Thank you! Sincerely, -- Konstantin Riabitsev Nicodemus Project Tech Homines quod volunt credunt.
Received on Tuesday, 11 April 2000 04:36:12 UTC