|
Posted by Spartanicus on 05/09/06 09:51
"Nik Coughlin" <nrkn.com@gmail.com> wrote:
>Hi, I've run into the Opera mirror margins bug as described here:
>
>http://www.quirksmode.org/bugreports/archives/2006/01/mirror_margins.html
>
>It's been fixed in Opera 9 but it still produces an ugly gap in my layout in
>Opera 8. I know it's a small proportion of the market but I am a pedant.
>
>The "fix" listed at the page above doesn't work for me, it's not really a
>fix and it creates its own issues.
>
>Does anyone know how to either:
>
>Serve CSS to just Opera < 9 *without* browser sniffing as I don't consider
>it reliable enough, something like the * html hack but for Opera rather than
>IE
>
>or:
>
>Work around this bug?
Proviso: I haven't checked if this can be classified as an Opera bug or
not.
The test case needlessly abuses floats, there is no need to float the
list items, there may also be a way to avoid floating the list. Remove
the floats on the list item, replace that with text-align and the
'problem' goes away. The list is floated to get it to shrink wrap around
the list items, that should definitely be ditched if the shrink wrapping
isn't required, and other options should be looked at if it is.
--
Spartanicus
Navigation:
[Reply to this message]
|