I wish I know why. I believe it has to do with treatment of positioned elements and floating is a type of positioning. Would love to hear an experts explanation.
On Wed, Dec 9, 2009 at 6:32 PM, Skip Knox <[email protected]> wrote: > Well done, Theresa! You know, I looked at that and did the stupid thing: I > said, naw, no way it's that! > > FYI, the clear didn't work. Only removing the float on the img tag worked. > > I *knew* it was inheritance, but of course I was only looking at what the > div was inheriting and did not look more closely at what the classed img was > inheriting. > > So, Theresa or anyone else: any idea why IE8 had a problem with this but > FF and Chrome did not? Gotta be the rendering agent, but I'd be interested > to know what the precise issue is. > > > Skip Knox > Boise State University > > > > On Wed, Dec 9, 2009 at 3:34 PM, Theresa Newman > <[email protected]>wrote: > >> remove the float:right on the img tag of the one not working. or if you >> want to leave it, you have to clear it so the caption falls under. >> >> >> On Wed, Dec 9, 2009 at 5:13 PM, Skip Knox <[email protected]> wrote: >> >>> Terribly sorry. Inconsistent coding across the site. Try this one. >>> http://www.boisestate.edu/courses/westciv/class.shtml >>> >>> Works in IE8, uses divs. Compare to the Crusades one, which doesn't >>> lay out properly. >>> >>> >>> On Wed, Dec 9, 2009 at 3:03 PM, Theresa Newman <[email protected]> >>> wrote: >>> > well, right off the bat, one is in a table and one is in a div >>> structure! 2 >>> > different animals. It is the one with div's that is not working right? >>> add >>> > clear:both to caption div >>> > >>> > >>> > >>> > On Wed, Dec 9, 2009 at 4:55 PM, Skip Knox <[email protected]> >>> wrote: >>> >> >>> >> In IE8, remember. Check in Chrome or FF if you want to see working in >>> >> both pages. >>> >> http://boisestate.edu/courses/crusades/7th/04.shtml >>> >> is the one that is not working and >>> >> http://boisestate.edu/courses/westciv/babylon/ >>> >> is an example of one that is working >>> > >>> > >>> >> >> > ______________________________________________________________________ css-discuss [[email protected]] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
