Jason, with your alignment and Div tag expertise as seen here, I was
wondering if you might lend a hand in helping figure out the problem in
bug http://bugzilla.mozilla.org/show_bug.cgi?id=104012.. whether Mozilla
is fine evangalism is needed, or there is a bug in Mozilla's IMG src
Hi all,
If a DIV element contains other, smaller DIV elements, and the parent div
has text-align: right in its style, then presumably the descendant DIVs
should be aligned against the right side of the parent. This is indeed what
happens in IE5.5 and IE6, but not in NS (6.01 through 6.2). Here's
text-align by definition is for aligning text.
A div element is *not* text.
Therefore text-align should not affect the alignment of the div within
its container, only the text within it. MSIE is incorrectly aligning
the div based on text-align.
Instead, use the CSS constrainment rules: if an
HI Jason,
That's exactly what I needed -- many thanks indeed! Works a treat.
Cheers,
Martin
Jason Johnston [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
text-align by definition is for aligning text.
A div element is *not* text.
Therefore text-align should