Jayesh Sheth wrote:
> I have a curious CSS problem with a site I am working
> on. At http://www.champelec.com , the third column on
> the right (the one to the right of the middle column,
> entitled "Contact Us") appears not as I intended in
> Opera 7.
> The links overflow to the left of the box, instead of
> staying within it. This does not occur in Opera 6, or
> Netscape 7, or Internet Explorer 6.
I tracked this bug down to the use of 'align="center"' in
one of the wrapper elements surrounding the list. It seems
to kill the left margin Op7 uses to 'indent' the list.
This html attribute is replaced in css by 'text-align: center'.
>From testing to appears that any sort of centering on a
wrapper that contains a list causes the loss of the indent
in Op7. Odd, because centering on the list itself does work
correctly, or at least the same as other browsers.
Jeeze, that makes three bugs I need to report to
Opera. The darned things are piling up!
BTW, IE also uses this margin for the same reason, but
Mozilla uses left padding instead. If you intend to mess
with the list indent, be sure to control both left margin
and left padding on the <ul>.
"What the world needs is a good bug ring"--Big John
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.