go41

IE7 and IE6 don’t seem to recognize class

von Joern am 20. Apr. 2010 | Keine Kommentare

Hi all
I have this code in my stylesheet….
‚img.postimg {

float:right;

margin-left:15px;

margin-bottom:5px;

border:1px solid #000000;

}


The code of my post then looks like this…
‚<img src="http://www.concept-ents.com/blog/wp-content/uploads/2010/04/popcornsquare-e1271783254679.jpg" alt="Popcorn Logo" title="Popcorn Logo" width="150" height="150" class="postimg" />‘
Image aligns to the left fine in Firefox, Safari and IE8. However, in IE7 and IE6, there is no border on the image, and the image isn’t floated to the right.
Any advice?
Many thanks.

(von: adamwork)

Hier noch 1 weitere Ergebnisse dieses Threads:

Re: IE7 and IE6 don’t seem to recognize class :: Reply by Joern

21. Apr. 2010 (von: Joern)

It would be easier if I could see the site live.The problem could arise if you style images in different places with a div id, lets say like #headline a img, #featured a img or #front-list img, #archive imgThis #ID…

Autor:

Du findest mich auch auf Twitter und Facebook!

Schreibe einen Kommentar

Pflichtfelder sind mit * markiert.


Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre mehr darüber, wie deine Kommentardaten verarbeitet werden.

weitere forum Beiträge: