Jon Hughes wrote:
> http://www.santinipackers.com/phazm/

> Afer adding in faux columns, I can no longer scroll down my pages in
>  IE.
> 
> Anyone know a fix for this?

Pardon me for mentioning it, but you're repeating your question from
only a few days ago, and seems to ignore the answers.

How do you expect IE6 to be able to scroll, when you're telling it to
*hide* everything outside body..?

Get rid of this...
* html body {overflow: hidden;}
...and _never_ use that kind of "construction" again.



Another - *very important* - point:

HTML comments, like in the following from your page...

<style type="text/css">
<!--
...lots of styles here...
-->
</style>

...should *not* be used for wrapping styles.

The CSS validator warns against them...

    " Do not put style rules inside HTML comments as they may be removed
by user agent "

...and the fact is that the CSS validator can not find any styles in
your page, because you have commented them out. That may be seen as an
efficient way to achieve perfect validaton-results, but it sure isn't a
good one.

----

In practice:

Web pages that claim to be XHTML and which are served as 'text/html', do
not need any additional "hiding styles" methods. The <style> element
hides its content from view by default, and it is no longer read as part
of the (X)HTML source-code.
This will do...

<style type="text/css">
...lots of styles here...
</style>

Web pages that are, or are intended to be, served as
'application/xhtml+xml', may use CDATA 'comments' to preserve content
"as is".
This will do...

<style type="text/css">
/*<![CDATA[*/
...lots of styles here...
/*]]>*/
</style>

...and it doesn't really matter how a page with such CDATA 'comments' is
served, as both browsers and the validators will treat it correctly, and
the CSS will be checked and applied _as_ CSS.

regards
        Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
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/

Reply via email to