l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
September 2: Social gathering
Next Installfest:
TBD
Latest News:
Aug. 18: Discounts to "Velocity" in NY; come to tonight's "Photography" talk
Page last updated:
2003 Jan 06 13:50

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
[vox-tech] img align=right weirdness in mozilla
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vox-tech] img align=right weirdness in mozilla



I just noticed that the news items on the front page of my
http://www.newbreedsoftware.com/ site renders strangely.

Notice how each newsitem is indented on the right more and more.

I'm familiar with this oddness (from Netscape 4 and other browsers)
when you have multiple images aligned the same way.

e.g., if there's not enough verticle clearance between them, they line up
like so:

   -----. /\
   --. /\ \/
       \/

rather than:

   ----- /\
   ---.  \/
   --.   /\
         \/


The solution I was familiar with (and I could be wrong, seeing as it
doesn't work in Mozilla; although it does seem to make all other browsers
I've tried happy) is to use a "clear=all" attribute to a benign tag,
like <br>:


So, instead of having just this, which could cause the 2nd image to
be crammed in further to the left:

  <img src="foo.png" align=right>
  This text appears on the left of the FOO image.<p>

  <img src="bar.png" align=right>
  This text appears on the left of the BAR image.

... You have this:

  <img src="foo.png" align=right>
  This text appears on the left of the FOO image.<p>
  <br clear=all><!-- This magic keeps 'bar.png' aligned with 'foo.png' -->

  <img src="bar.png" align=right>
  This text appears on the left of the BAR image.
  <br clear=all><!-- a good habit -->


However, as I said, this isn't working in Mozilla.

Instead, I'm getting:


  # Tux Paint speaks Chinese - Jan. 6, 2003            ########
  The latest release of Tux Paint includes a fix for   ########
  printing in Windows, updated Spanish                 ########
  documentation, and support for                       ########
  Chinese (Simplified)!
                                                          this horiz. rule
  --------------------------------------------------  <-- doesn't extend
                                                          all the way, either!

  # Tux Paint demos                       ########
    in Northern California -              ########
    Dec. 29, 2002                         ########
                                          ########
    Bill Kendrick, lead developer of
    Tux Paint, will be demonstrating
    Tux Paint at the January 9th
    meeting of the Davis Mac Users
    Group, the January 14th meeting
    of the North Bay Linux Users'
    Group in Sebastopol, and the
    January 15th meeting of the
    Sacramento PC Users' Group.

  ----------------------------------    <-- even worse!  more indented!

  # Tux Paint       ########
    0.9.2 for       ########
    Windows -       ########
    Dec. 19, 2002   ########

    Last week's
    release of Tux
    Paint, and the
    most recent
    Stamps
    collection are
    available for
    Windows.


Notice that the images don't extend below the text at all in any of the
blocks, so even WITHOUT a "<br clear=all>", the horizontal rules, and the
text and right-align images below them should extend all the way to the
right.


What's up!?  Is it a bug in the version of Mozilla I'm using?
Does anyone see the same weirdness in other browsers?
(I don't in IE 5.x, Netscape 4.x, Konqueror 2.x, Opera 5.x.)

I'm using:

  Mozilla 1.0
  Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0)
  Gecko/20020623 Debian/1.0.0-0.woody.1



Thanks in advance!


-bill!
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!