CSS: Aligning Images in IE vs. Firefox or Chrome - Image size all screwed up?

I see the problem as well with IE 8. The trouble is your max-width property for the img IE will not render a max-width correctly with the XHTML doctype (which you appear to be using). You can either remove the max-width or use a doctype which will trigger standards mode in IE.

I recommend the HTML5 doctype as per this article.

I see the problem as well with IE 8. The trouble is your max-width property for the . IE will not render a max-width correctly with the XHTML doctype (which you appear to be using).

You can either remove the max-width or use a doctype which will trigger standards mode in IE. I recommend the HTML5 doctype as per this article.

Thank you, D Gauer. Removing max-width resolved the problem. I also changed to the HTML5 doctype, which didn't resolve it but is probably a good idea going forward.

Thank you again. – muck Apr 22 at 19:28 @muck Glad that worked! If you get a chance to "accept" my answer, I'd appreciate it.

Happy developing. – DaveGauer Apr 22 at 20:11.

First off, I see about 14 javascript errors in IE when I pull that up stating 'null' is null or not an object. Maybe start there? EDIT: By the way, I was in IE8 Working Solution: I removed the that was wrapping the image in question, and it worked like a charm.

View in my working jsFiddle demo.

I believe this only works because the max-width is now no longer referring to the because the CSS is refering to "p img". – DaveGauer Apr 22 at 19:12 @D Gauer - possibly, but it does work and allows the OP to move on without any other mess. I don't know why the max-width is there to begin with really, but not my app.

=D – Scott Apr 22 at 19:16.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions