Re: Need help with IE
- From: "rf" <rf@xxxxxxxxx>
- Date: Fri, 21 Aug 2009 08:38:18 GMT
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 :-)
.
- Follow-Ups:
- Re: Need help with IE
- From: Ben C
- Re: Need help with IE
- References:
- Re: Need help with IE
- From: rf
- Re: Need help with IE
- From: rf
- Re: Need help with IE
- From: Ben C
- Re: Need help with IE
- Prev by Date: Re: trying to achieve Level Triple-A conformance
- Next by Date: Re: trying to achieve Level Triple-A conformance
- Previous by thread: Re: Need help with IE
- Next by thread: Re: Need help with IE
- Index(es):
Relevant Pages
|