Michael Landis wrote:
> You might want to use a span instead. Since you are redefining its
> display properties, it shouldn't matter whether you ise a div or a
> span to do this. Floats are automatically block-level, so if you are
> using display:inline to work around something in IE, you should still
> not see any issues when replacing it with a span.
>
> HTH,
>
> Michael


Ingo Chao wrote:
No, it crashes mine too, thanks. On a local copy, it crashed when I was playing with the text-zoom. This can happen in tight fittings.

In
div#content form#contato p.formcontainer

I changed the padding: 0px 20px; to padding: 0px 19px; and I didn't manage to crash it anymore.

This is not a fix, of course. The "cargo"-box is shifted a little to the right for some reasons. Maybe a duplicated spurious char in a tight float fitting. You might try to reduce the width of the contained boxes, some air for exploder's bugs.

Ingo

First of all, thank you Michael, and thank you Ingo, for your answers.

I've been busy during the weekend, so I could only work on these solutions this Monday. Firstly I tried using a span instead of a div, but, well, this is IE, and it created some unexplainable padding inside the span, or margin around the fields (no clue, zeroing neither helped), that I wasn't able to fix.

Then, I tried reducing the right margin of each individual floated field, and it worked! I guess the tight fitting was really the villain acting behind the scenes in IE.

Here is my fix:

* html div#content form#contato input.shortl {
        margin: 0 23px 10px 0;
}
* html div#content form#contato input.shortr {
        margin: 0 0 8px 0;
}
* html div#content form#contato input#cargo {
        margin-top: -1px;
}
* html div#content form#contato input#ok {
        margin: 10px 255px 0 0;
}

Don't ask me why did I reduce the bottom margin or pull the cargo field 1px up. I haven't the slightest idea. It simply works, and it displays the same in FF and IE now.

Thank you all again,

--
~ ugo pozo ` [EMAIL PROTECTED]
~ icq, msn ` 61410828, [EMAIL PROTECTED]
~ aim, irc ` ugopozo, [EMAIL PROTECTED]
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to