The difference between div float in IE and Firefox

Updated on technology 2024-04-16
15 answers
  1. Anonymous users2024-02-07

    Because it's not right for you to write like this, just give a div a float ie will automatically default to b div will also float

    In Firefox, B is not hidden under A, but B is under C.

    What is the effect you want, if you want b to write like this under A, it's not right, it's not standardized.

    If you write clear:both under the b div, they will still be arranged vertically.

  2. Anonymous users2024-02-06

    Yes, too. You make a, b, and c all float, or absolutely positioned, and set their zoom properties.

  3. Anonymous users2024-02-05

    I don't know how your CSS is written, but if you want to keep the right side of Project 1 from floating, you can add clear:right to the CSS of Project 1One; The same goes for everyone else! Or you can add clear: to the CSS in 1

    both;That's fine, too! Hehe.

  4. Anonymous users2024-02-04

    IE does not conform to current standards, especially IE6, but there are ways to write a CSS specifically for IE6. For example, margin-top: 20px; _margin-top:

    10px;This CSS statement will only show margin-top at 10px in IE6 browsers, while non-IE6 browsers won't see margin-top because they don't recognize it and will ignore it.

  5. Anonymous users2024-02-03

    This picture you drew reminds me of Picasso...

    Add one to d1, d4, d6, d7.

  6. Anonymous users2024-02-02

    Hello! We'll be happy to answer your questions.

    After taking a look at your **, the main problem is that the parent object is not floated cleared, so that under IE and Firefox because of the difference in positioning anchor points, it will cause a huge difference in the display. Therefore, you need to add a clear layer to the end of the necessary div and reposition it.

  7. Anonymous users2024-02-01

    1. Don't mix inline elements with block elements, you should put inline elements inside the block, and 2. After floating, their parent elements should be cleared of floating, so that you can see the parent elements

    d2d3d5d7d8d10

  8. Anonymous users2024-01-31

    This is why many people have to set the padding of many default elements to 0 at the beginning of CSS, different browsers have different interpretations of the default margins, and setting the default padding of all elements to 0 at the beginning of CSS can reduce a lot of trouble in the later stage, the simplest **is*

  9. Anonymous users2024-01-30

    First, check if you have a global variable defined, such as *

    Secondly, there is a float on the bottom of the float to clear the float clear:both; Or add overflow:hidden to the left and right floating parent layers; zoom:1;This also helps to clear the float!

    Finally, I hope it can help you.

  10. Anonymous users2024-01-29

    Hello! We'll be happy to answer your questions.

    You can refer to this page for a more detailed introduction to the DIV+CSS extension box problem.

  11. Anonymous users2024-01-28

    You need to add overflow:hidden to the side or initialize the element, or you can add a sentence * in simple words.

  12. Anonymous users2024-01-27

    You can add overflow:hidden to the side or.

    Initialize the element, which can be simple with a sentence *

  13. Anonymous users2024-01-26

    Please post**, otherwise there is no way to check.

  14. Anonymous users2024-01-25

    Can you describe the problem or texture in detail?

  15. Anonymous users2024-01-24

    float:left;Generally, this attribute causes the position of the floating div not to be the same as Sui, and to remove the non-position:

    absolute's div float:left; It's solved.

    You can click on the Firefox browser under the official ** button of Firefox to learn more in the Firefox community. If you have any questions, please continue to consult on this platform.

Related questions
11 answers2024-04-16

You add a zoom:1 to the outer div; The property of the o.

13 answers2024-04-16

Hehe,If I didn't reply to the post before.,Just changed browsers recently.,Say 2 sentences.。 It has been used for a long time, at least for more than 4 years, and it is also recommended to use the Maxton for units and many people. I recently switched to firefox.,Reason: >>>More

4 answers2024-04-16

If you want a fast network, use IE6, if you want to be safe, use IE7, and if you want to be fully functional, use IE8 IE8 is very slow, and it is recommended to use IE7

15 answers2024-04-16

There are a lot of software like this, but I've always used Super Bunny or 3721 to good effect.

11 answers2024-04-16

Quanzhou is quite rich, hehe, there are friends who are there. >>>More