Hi Philippe, Rafael and all, Unfortunately i don't have a public URL as our testing servers are internal onlybut the doctype we're using is: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
I'm just the CSS/graphics guy in the office :) i don't have much control over the .NET code the developers write and how it spits out HTML (although we are moving towards more compliant code and using stuff like CSS Adapters). Vince On 12/02/2008, Philippe Wittenbergh <[EMAIL PROTECTED]> wrote: > > (I'm sure Rafael intended to send this to the list) > > Begin forwarded message: > > > From: Rafael <[EMAIL PROTECTED]> > > Date: February 13, 2008 11:46:25 AM JST > > To: Philippe Wittenbergh <[EMAIL PROTECTED]> > > Subject: Re: [css-d] IE7 a display:block issue > > User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) > > > > Philippe Wittenbergh wrote: > >> On Feb 13, 2008, at 10:20 AM, Rafael wrote: > >> > >>> Try triggering /hasLayout/[1] on your *a*'s. One of the easiest > >>> ways > >>> to do so is by setting the MS-only property 'zoom' (i.e. "zoom:1") > >>> -- if > >>> you care about your code being valid, then don't use this property. > >>> > >>> [1]http://www.satzansatz.de/cssd/onhavinglayout.html > >>> > >>> vincent pollard wrote: > >>> > >>>> hi! > >>>> > >>>> so, i have: > >>>> > >>>> .headerTwoRight a { > >>>> text-decoration: none; > >>>> display: block; > >>>> height: 42px > >>>> } > >>>> > >> The link already triggers 'hasLayout', as 'height' is specified > >> in the stylesheet. > >> > > You're right, I didn't put attention to the height. > > > >> One problem of course (assuming I read that ASP stuff correctly): > >> <a href=""> <p>xxx</p></a> > >> is invalid html. > >> > > You're right here too, it *does* have an image and a paragraph > > inside the link. That points me to question: what DOCTYPE are you > > using, Vincent? Is there a page we can actually see? > > I'll echo the request for a live url. > That makes things much (MUCH) easier to debug. > > Philippe > --- > Philippe Wittenbergh > http://l-c-n.com/ > > > > > ______________________________________________________________________ > 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/ > -- Vincent Pollard http://www.ithinkx.co.uk ______________________________________________________________________ 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/
