Re: Need help with IE



Ben C wrote:
On 2009-08-21, rf <rf@xxxxxxxxx> wrote:
[...]
and it is the rendered HTML that is causing you the problem. The
browser doesn't care if somethng is done "server side" or if it is
carefully hand crafted by typing the stuff into a hexadecimal
editor. It is the end result that is displayed and, in this case,
incorrectly. I'd still like to know why though. Perhaps it's those
breaks in there as well. What does <br> mean when it's after
something that is floated?

It just puts a line break in the text, and doesn't particularly get
involved in the floats (unless you set clear on it).

For example, you might have a bit of text, then a big left float. Then
more text which carries on down the right hand side of that float. If
there's a <br> in the text, it'll start a new line just below the
previous one in the normal way, all still to the right of the float.

You are correct, the <br> has nothing to do with this.

As Adrienne has fixed her page I have put up an example.
http://barefile.com.au/t.html

Her problem was as in the second fieldset, the label element was dropping
below the input field.

The * was the problem. On thinking about it the browser is doing what it
should. There is an *. Then there is the label element which is correctly
layed out below the *. Then comes the input element which quite rightly
appears directly after the *, the label element having been removed from the
flow.

It's odd that Safari does it completely differently, and IMHO wrong. The
floated label element appears before the *, not below it.

Glad we cleared that up Adrienne :-)


.



Relevant Pages

  • Re: text between two images, floats the best?
    ... What is to be expected if the browser were to allow complete user ... margin of 140px, and set margins to 0 on body for simplicity, ... 140px from the left of the viewport. ... until the left edge of the right float reaches the 240px point ...
    (comp.infosystems.www.authoring.html)
  • Re: Need help with IE
    ... For example, you might have a bit of text, then a big left float. ... Her problem was as in the second fieldset, the label element was dropping ... Konqueror since this is a known bug that they fixed. ... proper strict one in and Opera does the same as Konqueror, ...
    (alt.html)
  • Re: Really basic float right problem cross browser
    ... When the line breaks before the float. ... available browser I have that does it different to modern Safari, ... used to the modern effect? ...
    (alt.html)
  • Re: Width of tables next to float
    ... particular I was hoping for a solution that kept the float. ... These changes work fine in IE6 and IE7, ... I don't do browser hacking, so I'll leave it up to you or someone else ...
    (alt.html)
  • Re: text between two images, floats the best?
    ... 140px from the left of the viewport. ... I reckon what iCab is doing is wrong. ... natural browser limit was reached. ... that's just the normal rules for when float drop. ...
    (comp.infosystems.www.authoring.html)