OK, my boo-boo, I had the Firefox tab set to use the IE rendering engine. Once switched back it works fine.
However, without IE6 support that CSS formatting trick is no use to me. Anyone got any ideas about another (IE6-compatible) way to apply formatting to an element, conditional upon the nature of the preceding sibling? TIA - Bill > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Philippe Wittenbergh > Sent: Wednesday, February 28, 2007 9:58 AM > To: CSS-D > Subject: Re: [css-d] Adjacent siblings > Importance: High > > > > > On Feb 28, 2007, at 8:33 AM, Bill Hely wrote: > > > H3 { > > margin-bottom: 0px; > > padding-bottom: 0px; > > } > > H3+p { > > margin-top: 0px; > > padding-top: 0px; > > } > > > > There should be no margin/padding between any H3 and the > > paragraph following it. So in... > > > > [H3]Subheading[/H3] > > [p]This is a paragraph after the subhead.[/p] > > > > ...the two lines of text should be (vertically) hard up against > > each other. > > > > Yet in both Firefox and IE6 they are spaced apart. > > > > Does this "adjacent siblings" thing actually work? > > Test case URL, please ? > Those selectors work very well in Firefox, Opera, Safari, Konqueror, > iCab, etc. > They *don't* work in IE 6 (no support for that kind of selector, bug > fixed in IE 7). > > Philippe > --- > Philippe Wittenbergh > <http://emps.l-c-n.com> -- We take security very seriously. All outgoing mail is certified Virus Free. To boost YOUR security visit The Hacker's Nightmare: http://HackersNightmare.com "How to keep hackers, worms and other germs out of your PC." Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.4/703 - Release Date: 26/02/2007 2:56 PM ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
