wsg  

Re: [WSG] floats and ie7

dwain
Wed, 26 Mar 2008 21:43:08 -0700

thanks thierry for your response.  there was no width set on the nav div and
that was the culprit.  after my bout with the nn4 style sheet i guess i was
brain dead.  let me know when you will be in alabama and we'll roll out the
red carpet southern style when you get here.
dwain

On 3/26/08, Thierry Koblentz <[EMAIL PROTECTED]> wrote:
>
> > From: [EMAIL PROTECTED] [EMAIL PROTECTED]
> On Behalf Of dwain
> > Sent: Wednesday, March 26, 2008 8:49 PM
> > To: web standards group
> > Subject: [WSG] floats and ie7
>
> >
> > i thought i had fixed this problem.  i guess i didn't.
> >
>
> > http://www.alforddesigngroup.com/
> >
> > in ff, opera, safari 3.1 and seamonkey the page looks the way i
> intended.  i have an address and menu on the left and two pictures floated
> > right.  in the source code the pix follow the address so on the page
> they are even with the bottom of the address line on the right side of the
> > page.  the pix are in their own shrink-wrapped div.  in ie7 the pix
> split the address and menu.  i've looked at the css until it all runs
> > together.  what am i missing?  and ms said that ie7 was more standards
> compliant, fooey!
>
>
> Hi Dwain,
>
> The easy fix:
> #nav {zoom:1;}
>
> But that won't validate (and I know you want the styles sheet to
> validate), so you may want to hide it inside a Conditional Comment or try
> any other property that will trigger hasLayout in IE.
>
> For example float will work too:
>
> #nav {float:left;display:inline;}
>
> display:inline is to prevent IE to double the left margin
>
>
> --
> Regards,
> Thierry | http://www.TJKDesign.com
>
>
>
>
>
>
>
> *******************************************************************
> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
> Help: [EMAIL PROTECTED]
> *******************************************************************
>
>


-- 
dwain alford
"The artist may use any form which his expression demands;
for his inner impulse must find suitable expression."  Kandinsky


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************