Problem with clear:both in a list (repost with add'l info)

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Stan Brown

    Problem with clear:both in a list (repost with add'l info)

    I'm sorry, I should have mentioned that I'm running Mozilla 1.4 on
    Win 98 and my window is about 800 pixels wide. If any of that
    matters.

    The rest of this is what I posted a few minutes ago.




    The first table is floated right (class="fr"). Text does not flow
    around the table, as I thought a float should do, but there is white
    space below the table to the end of the document.

    Then when the second floated table comes along, it too reserves
    space under itself to the end of the document. The text is left in a
    very narrow column.

    I even tried putting in a clear:both (via <div class="clear">) at
    the end of the first long list item, but it didn't help.

    What am I doing wrong?


    --
    Stan Brown, Oak Road Systems, Cortland County, New York, USA

    HTML 4.01 spec: http://www.w3.org/TR/html401/
    validator: http://validator.w3.org/
    CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
    2.1 changes: http://www.w3.org/TR/CSS21/changes.html
    validator: http://jigsaw.w3.org/css-validator/
  • Gus Richter

    #2
    Re: Problem with clear:both in a list (repost with add'l info)

    Stan Brown wrote:[color=blue]
    > I'm sorry, I should have mentioned that I'm running Mozilla 1.4[/color]

    Time to update at least to 1.7 although the bug is still there.
    [color=blue]
    > What am I doing wrong?[/color]

    Nothing. This is a Moz bug.

    Test case by Eric Meyer:

    It works ok if you don't use a List.

    --
    Gus

    Comment

    • Stan Brown

      #3
      Re: Problem with clear:both in a list (repost with add'l info)

      "Gus Richter" <gusrichter@net scape.net> wrote in
      comp.infosystem s.www.authoring.stylesheets:[color=blue]
      >Stan Brown wrote:[color=green]
      >> I'm sorry, I should have mentioned that I'm running Mozilla 1.4[/color]
      >
      >Time to update at least to 1.7 although the bug is still there.[/color]

      Then why? What's the advantage? I'm wary of "upgrading" because when
      I did it in the past the user interface was different, my extensions
      stopped working, and the bugs that I cared about were still there.
      [color=blue][color=green]
      >> What am I doing wrong?[/color]
      >
      >Nothing. This is a Moz bug.
      > http://bugzilla.mozilla.org/show_bug.cgi?id=163110[/color]

      Thanks for the reference. I see that this one's two years old, and
      has had about a dozen duplicates entered. Sigh.
      [color=blue]
      >Test case by Eric Meyer:
      > http://bugzilla.mozilla.org/attachme...44&action=view
      >It works ok if you don't use a List.[/color]

      Seems to be a bit more specific than that -- the problem seems to be
      floating the last element of an <li>. I followed Michael Rozdoba's
      suggestion to move the tables into the <li>s where they logically
      belong; now Mozilla does the right thing but not Opera (and, I'm
      told, not IE6 either.)

      I know we've all been there, but GOLLY it's annoying working around
      browser bugs, particularly since the worst one has the lion's share
      of the market.

      --
      Stan Brown, Oak Road Systems, Cortland County, New York, USA

      HTML 4.01 spec: http://www.w3.org/TR/html401/
      validator: http://validator.w3.org/
      CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
      2.1 changes: http://www.w3.org/TR/CSS21/changes.html
      validator: http://jigsaw.w3.org/css-validator/

      Comment

      • Brian

        #4
        Re: Problem with clear:both in a list (repost with add'l info)

        Stan Brown wrote:
        [color=blue]
        > "Gus Richter" wrote:
        >[color=green]
        >> Stan Brown wrote:
        >>[color=darkred]
        >>> I'm running Mozilla 1.4[/color]
        >>
        >> Time to update at least to 1.7 although the bug is still there.[/color]
        >
        > Then why? What's the advantage? I'm wary of "upgrading" because
        > when I did it in the past the user interface was different, my
        > extensions stopped working, and the bugs that I cared about were
        > still there.[/color]

        That seems reasonable, and Moz 1.4 was a good release. I upgraded by
        necessity -- after my hard drive crashed. ;-) If you're interested
        in trying out the new one, you can always use Firefox. Caveat:
        although Firefox is now my default browser, I wish they hadn't taken
        away so many of the options/menus. For a power user, Firefox can be
        frustrating.

        --
        Brian (remove ".invalid" to email me)

        Comment

        • Neal

          #5
          Re: Problem with clear:both in a list (repost with add'l info)

          On Thu, 1 Jul 2004 23:15:55 -0400, Stan Brown <the_stan_brown @fastmail.fm>
          wrote:
          [color=blue]
          > "Gus Richter" <gusrichter@net scape.net> wrote in
          > comp.infosystem s.www.authoring.stylesheets:[color=green]
          >> Stan Brown wrote:[color=darkred]
          >>> I'm sorry, I should have mentioned that I'm running Mozilla 1.4[/color]
          >>
          >> Time to update at least to 1.7 although the bug is still there.[/color]
          >
          > Then why? What's the advantage? I'm wary of "upgrading" because when
          > I did it in the past the user interface was different, my extensions
          > stopped working, and the bugs that I cared about were still there.
          >[/color]

          I hear ya. That's why I still use NN4. ;)

          Comment

          • Stan Brown

            #6
            Re: Problem with clear:both in a list (repost with add'l info)

            "Brian" <usenet3@juliet remblay.com.inv alid> wrote in
            comp.infosystem s.www.authoring.stylesheets:[color=blue]
            >ou can always use Firefox. Caveat:
            >although Firefox is now my default browser, I wish they hadn't taken
            >away so many of the options/menus. For a power user, Firefox can be
            >frustrating.[/color]

            That's exactly how I reacted when I tried it. The latest thing is
            that they took away Profile Manager because it's "not a user
            feature", so now users have to select profiles by command-line
            options. Yeah, _that's_ user friendly!

            --
            Stan Brown, Oak Road Systems, Cortland County, New York, USA

            HTML 4.01 spec: http://www.w3.org/TR/html401/
            validator: http://validator.w3.org/
            CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
            2.1 changes: http://www.w3.org/TR/CSS21/changes.html
            validator: http://jigsaw.w3.org/css-validator/

            Comment

            • Michael Rozdoba

              #7
              Re: Problem with clear:both in a list (repost with add'l info)

              Brian wrote:
              [color=blue]
              > Caveat: although Firefox is now my default browser, I wish they
              > hadn't taken away so many of the options/menus. For a power user,
              > Firefox can be frustrating.[/color]

              Agreed, although using url about:config is rather more friendly than
              manually editing config files. Though, one still does have to know what
              the option names refer to & what valid values are.

              --
              Michael
              m r o z a t u k g a t e w a y d o t n e t

              Comment

              • Brian

                #8
                Re: Problem with clear:both in a list (repost with add'l info)

                Michael Rozdoba wrote:
                [color=blue]
                > Brian wrote:
                >[color=green]
                >> Caveat: although Firefox is now my default browser, I wish they
                >> hadn't taken away so many of the options/menus. For a power user,
                >> Firefox can be frustrating.[/color]
                >
                > Agreed, although using url about:config is rather more friendly than
                > manually editing config files. Though, one still does have to know
                > what the option names refer to & what valid values are.[/color]

                Even with that, some options are gone. I can no longer find where to
                change the location of the cache on the disk in 0.9.1. (Putting in the
                system directory only makes sense in disk sharing environments, where
                quotas are important. For a single user, it's better to put the cache in
                a place where it won't be backed up with Moz config stuff.)

                --
                Brian (remove ".invalid" to email me)

                Comment

                Working...