Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Learn More

CSS image float left

  • 2 odpovede
  • 4 majú tento problém
  • 4 zobrazenia
  • Posledná odpoveď od duane@co13.com

more options

This is mad crazy. I'm trying to float 4 images left in a div. In every browser, IE, Chrome, Opera, and Safari they line up. In Firefox however the first 2 line up but 3 and 4 step down like a step ladder. Yup I could create 4 float left div's to contain each pic but that seems mad crazy just to fix an issue that is only in Firefox. Am I missing something?

This is mad crazy. I'm trying to float 4 images left in a div. In every browser, IE, Chrome, Opera, and Safari they line up. In Firefox however the first 2 line up but 3 and 4 step down like a step ladder. Yup I could create 4 float left div's to contain each pic but that seems mad crazy just to fix an issue that is only in Firefox. Am I missing something?

Všetky odpovede (2)

more options

Am I missing something?

url ?

Browsers don't have to render the same, if you can take the guess work out by putting the four pictures into one container they might work out better until you try it on a mobile device with a small screen.

more options

The 4 images where in one container and rendered properly in everything except Firefox. It's strange because Firefox is usually cool with CSS.