Re: [WSG] IE 7 body length problem

2007-05-09 Thread Jixor - Stephen I
I have been using the background on html for some time on various sites 
because of this problem. I don't know if standards allows it but it 
works in all browsers.


Kane Tapping wrote:



Hi ,

I found my IE7 will show the bug on its first load, but any refresh 
afterwards will load with the body/colour covering the entire window. 
(covering the window with another window will also remove the 
whitespace.)


A quick check with the IE7 developer toolbar shows the body 
stretching only as far as the content.


If would suggest setting a background colour for the html.

btw the toolbar declares body hasLayout = -1

Kind Regards,

Kane Tapping
Web Standards Developer
Web and Content Management Services
Griffith University. 4111. Australia._
[EMAIL PROTECTED] mailto://[EMAIL PROTECTED]/
Phone: +61 (0)7 373 57630





On 5/9/07, Thierry Koblentz [EMAIL PROTECTED] wrote:
  On my site, http://christianmontoya.net/
  the body does not extend past the content in IE 7 on initial page
  load, so the background doesn't reach the bottom of the screen. I know
  there's a simple fix for this, but I can't remember it... can someone
  help me out? Thanks in advance.

 Hi Christian,
 I don't see this behavior in ie7 WinXP Pro
 But I think you should be able to fix what you describe by giving 
layout to

 some element in there.
 Did you try: body {zoom:1}

Couldn't see this issue on my IE7 too (are you using a beta?). Thierry
is right, the element needs to be given layout.

http://www.satzansatz.de/cssd/onhavinglayout.html

enjoy...
Karl

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





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

Re: [WSG] IE 7 body length problem

2007-05-09 Thread Christian Montoya

Thanks for the help everyone.

I tried adding the background to HTML but that did not fix the problem.

What did work was that I added:

html, body { height:100%; }

to the stylesheet.

The whole thing is a bit weird though since I have never seen this
happen on another site, but it definitely seems like a hasLayout
issue. I think I removed hasLayout on the body by applying 0 padding
and margin and that's why I had to set the height to 100% to get it
back.

--
--
Christian Montoya
christianmontoya.net .. designtocss.com


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



[WSG] IE 7 body length problem

2007-05-08 Thread Christian Montoya

Hello list,

On my site, http://christianmontoya.net/
the body does not extend past the content in IE 7 on initial page
load, so the background doesn't reach the bottom of the screen. I know
there's a simple fix for this, but I can't remember it... can someone
help me out? Thanks in advance.

--
--
Christian Montoya
christianmontoya.net .. designtocss.com


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



Re: [WSG] IE 7 body length problem

2007-05-08 Thread Thierry Koblentz

On my site, http://christianmontoya.net/
the body does not extend past the content in IE 7 on initial page
load, so the background doesn't reach the bottom of the screen. I know
there's a simple fix for this, but I can't remember it... can someone
help me out? Thanks in advance.


Hi Christian,
I don't see this behavior in ie7 WinXP Pro
But I think you should be able to fix what you describe by giving layout to 
some element in there.

Did you try: body {zoom:1}

---
Regards,
Thierry | www.TJKDesign.com 




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



Re: [WSG] IE 7 body length problem

2007-05-08 Thread Jixor - Stephen I
Apply the background to the html element. Not sure if this fits in with 
standards but it works.


Christian Montoya wrote:

Hello list,

On my site, http://christianmontoya.net/
the body does not extend past the content in IE 7 on initial page
load, so the background doesn't reach the bottom of the screen. I know
there's a simple fix for this, but I can't remember it... can someone
help me out? Thanks in advance.





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



Re: [WSG] IE 7 body length problem

2007-05-08 Thread Karl Lurman

On 5/9/07, Thierry Koblentz [EMAIL PROTECTED] wrote:

 On my site, http://christianmontoya.net/
 the body does not extend past the content in IE 7 on initial page
 load, so the background doesn't reach the bottom of the screen. I know
 there's a simple fix for this, but I can't remember it... can someone
 help me out? Thanks in advance.

Hi Christian,
I don't see this behavior in ie7 WinXP Pro
But I think you should be able to fix what you describe by giving layout to
some element in there.
Did you try: body {zoom:1}


Couldn't see this issue on my IE7 too (are you using a beta?). Thierry
is right, the element needs to be given layout.

http://www.satzansatz.de/cssd/onhavinglayout.html

enjoy...
Karl






---
Regards,
Thierry | www.TJKDesign.com



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





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



Re: [WSG] IE 7 body length problem

2007-05-08 Thread Lachlan Hunt

Thierry Koblentz wrote:

I don't see this behavior in ie7 WinXP Pro
But I think you should be able to fix what you describe by giving layout 
to some element in there.

Did you try: body {zoom:1}


Be very careful about overusing hasLayout.  It's not something that 
should just be gratuitously used everywhere you think there's a bug, 
particularly when you can't actually see a bug.  If used carelessly, 
hasLayout has the potential to cause more problems than it actually solves.


Hacks should always be a last resort, not something you turn to at the 
first sign of a bug.  It's always better if you can resolve the issue at 
source, instead of throwing random hacks at it until it's patched.


--
Lachlan Hunt
http://lachy.id.au/


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



Re: [WSG] IE 7 body length problem

2007-05-08 Thread Karl Lurman

The concept of 'Has Layout' is not a hack, its part of IE's rendering
model... It happens to be something that is outside of the CSS
standard - that doesn't make it a hack.

Microsoft developers decided that elements should be able to acquire
a property (in an object-oriented programming sense) they referred
to as hasLayout, which is set to true when this rendering concept
takes effect.

Besides, if one is worried about validating CSS (which they should
be), it can be dealt with by using conditional mark-up just like any
other IE bollocks. :)

On 5/9/07, Lachlan Hunt [EMAIL PROTECTED] wrote:

Thierry Koblentz wrote:
 I don't see this behavior in ie7 WinXP Pro
 But I think you should be able to fix what you describe by giving layout
 to some element in there.
 Did you try: body {zoom:1}

Be very careful about overusing hasLayout.  It's not something that
should just be gratuitously used everywhere you think there's a bug,
particularly when you can't actually see a bug.  If used carelessly,
hasLayout has the potential to cause more problems than it actually solves.

Hacks should always be a last resort, not something you turn to at the
first sign of a bug.  It's always better if you can resolve the issue at
source, instead of throwing random hacks at it until it's patched.

--
Lachlan Hunt
http://lachy.id.au/


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





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



Re: [WSG] IE 7 body length problem

2007-05-08 Thread Kane Tapping
Hi ,

I found my IE7 will show the bug on its first load, but any refresh 
afterwards will load with the body/colour covering the entire window. 
(covering the window with another window will also remove the whitespace.)

A quick check with the IE7 developer toolbar shows the body stretching 
only as far as the content.

If would suggest setting a background colour for the html.

btw the toolbar declares body hasLayout = -1

Kind Regards,

Kane Tapping
Web Standards Developer
Web and Content Management Services
Griffith University. 4111. Australia.
[EMAIL PROTECTED]
Phone: +61 (0)7 373 57630




On 5/9/07, Thierry Koblentz [EMAIL PROTECTED] wrote:
  On my site, http://christianmontoya.net/
  the body does not extend past the content in IE 7 on initial page
  load, so the background doesn't reach the bottom of the screen. I know
  there's a simple fix for this, but I can't remember it... can someone
  help me out? Thanks in advance.

 Hi Christian,
 I don't see this behavior in ie7 WinXP Pro
 But I think you should be able to fix what you describe by giving layout 
to
 some element in there.
 Did you try: body {zoom:1}

Couldn't see this issue on my IE7 too (are you using a beta?). Thierry
is right, the element needs to be given layout.

http://www.satzansatz.de/cssd/onhavinglayout.html

enjoy...
Karl


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

Re: [WSG] IE 7 body length problem

2007-05-08 Thread Thierry Koblentz

From: Lachlan Hunt


Thierry Koblentz wrote:

I don't see this behavior in ie7 WinXP Pro
But I think you should be able to fix what you describe by giving layout 
to some element in there.

Did you try: body {zoom:1}


Be very careful about overusing hasLayout.  It's not something that should 
just be gratuitously used everywhere you think there's a bug, particularly 
when you can't actually see a bug.  If used carelessly, hasLayout has the 
potential to cause more problems than it actually solves.


Hacks should always be a last resort, not something you turn to at the 
first sign of a bug.  It's always better if you can resolve the issue at 
source, instead of throwing random hacks at it until it's patched.


I don't think anybody suggested to do such things.
FWIW: a width or a height could fix the issue as well, but IMO if it is a 
fix it is a hack.
As a side note, I prefer to use zoom to give layout to an element over 
other properties as it clearly indicates in the stylesheet the reason why it 
is there; for the same reason, if I was using width for example, I'd go 
with *width...


---
Regards,
Thierry | www.TJKDesign.com 




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