Olá Brent,

I think there's not a pure CSS solution. I would do as follows:

/* Hack: IE for Windows */

html{
overflow-y: hidden;
}
html body{
overflow-y: auto;
height: 100%;
}
.header {
width: expression(documentElement.clientWidth - 18 +"px");
}
html .fixed{
position: absolute;
margin: 10px;
}

I also would wrap it in a conditional comment targeted especially to IE 6:

<!--[if lte IE 6]>
<link charset="utf-8" rel="stylesheet" type="text/css" 
href="CSS/IE6patches.css" />
<![endif]-->

Like that you wouldn't have problems with other versions of IE, 
including IE 7.

It gets perfectly possible to have floating divs with this solution.

This probably doesn’t help you, as it does exactly what you didn’t want 
(setting the header width to less than 100% using an IE hack), but it 
was the best I could come up with.

Best,

Roberto

---------------------------------

Brent Hargrave wrote:

> Of course, the scrollbar wont't appear if I don't set any elements to 
> a width of 100% to allow for interior floating elements. This is what 
> the tagsoup and other IE hack examples on css-discuss all do. 
> Unfortuantely, I'm sure I'll need to float elements in nav and content 
> structural divs, though. Do you know of a non-js workaround that 
> addresses this? I've scoured the net looking for the gmail layout 
> using strict css with no luck.


______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- 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/

Reply via email to