Welcome to the Treehouse Community
Looking to learn something new?
Display: block; ?
when add the display block element to my stylesheet it takes the photo out of my page? What am I doing wrong?
Do you have an example of your code?
Jonathan GrieveTreehouse Moderator 90,705 Points
Without the code, I can only guess a stray semi-colon is affecting the display of your photo.
I have the same problem,
only Firefox issue for me, chrome is working fine: http://i.imgur.com/DZkVOsl.png (with display block) http://i.imgur.com/ulV8Drs.png (without display block) http://i.imgur.com/zeyl07x.png (3d view with display block - Pretty interesting)
found a workaround by using clear property on img selector: http://i.imgur.com/Ibh9iJ6.png (clear: both before display: block)
but It should be better I think if I setted this clear: both on header, which is the same, but more cleaner solution
from the project files, I can see that main.css, hasn't this "fix" on header or wrapper, so I think that it must be noted somewhere lastly, is this a bug that should be noted/fixed by normalize.css project?
Juan Aviles12,795 Points
I was going through the same issue with this lesson today. I figured it was a Firefox problem since that's what I'm using. I searched around, but found no answers as to why "display: block;" does not work with Firefox. Does anyone have any ideas?