Re: [css-d] float problem in IE6/7
Well, thanks anyway. Best~ Wenlong. From: David Laakso To: Wenlong Xu Cc: css-discuss Sent: Mon, December 7, 2009 9:27:37 AM Subject: Re: [css-d] float problem in IE6/7 Wenlong Xu wrote: > Hi, David. > > i have just solved it in your way. > Thank you for your help. > However, I'm pretty curious about why the former code doesn't work well in > IE6/7. > do you have any ideas? > Thank you! > > > We will both need to rely on someone else to answer that good question. As for myself, I have more than enough difficulty getting anything to work at all. And I mean that. I leave more esoteric matters, such as explaining why something does not work, to others who are far better qualified. than me. Best, ~d ___ 好玩贺卡等你发,邮箱贺卡全新上线! http://card.mail.cn.yahoo.com/__ css-discuss [cs...@lists.css-discuss.org] 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/
Re: [css-d] float problem in IE6/7
Wenlong Xu wrote: > Hi, David. > > i have just solved it in your way. > Thank you for your help. > However, I'm pretty curious about why the former code doesn't work well in > IE6/7. > do you have any ideas? > Thank you! > > > We will both need to rely on someone else to answer that good question. As for myself, I have more than enough difficulty getting anything to work at all. And I mean that. I leave more esoteric matters, such as explaining why something does not work, to others who are far better qualified. than me. Best, ~d __ css-discuss [cs...@lists.css-discuss.org] 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/
Re: [css-d] float problem in IE6/7
Thanks for your reply. Please forgive me my careless. in the real application, i'm sure every selector name is appropriate. here just use '1', '2' for short. anyway, Thank you! ___ 好玩贺卡等你发,邮箱贺卡全新上线! http://card.mail.cn.yahoo.com/__ css-discuss [cs...@lists.css-discuss.org] 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/
Re: [css-d] float problem in IE6/7
Hi, David. i have just solved it in your way. Thank you for your help. However, I'm pretty curious about why the former code doesn't work well in IE6/7. do you have any ideas? Thank you! From: David Laakso To: Wenlong Xu Cc: css-d@lists.css-discuss.org Sent: Mon, December 7, 2009 7:21:56 AM Subject: Re: [css-d] float problem in IE6/7 Wenlong Xu wrote: > Hi, dear all, > I have met a float problem in IE6/7. > > code: > > > > > > > > > it looks pretty good in FF3+/IE8, but in IE6/7 the #3 DIV seems to be inside > #1 DIV. > is this a IE bug or something else? how to fix it? > > any reply will be helpful, thanks. > Wenlong. > > > It is not necessary to float the lime block. Consequently, it is not necessary to clear the float. The html comment simply tells the software (specifically IE/6) that there is something "in" the division(s). Set it like this and compliant browsers, and even IE/6.0 and IE/7.0 will be on-board: abc body {margin:0; background: #fff; color:#000;} #a {background:lime;height:30px; width:100%;} #b {background:red;height:5px; margin: 0 5px;} ___ 好玩贺卡等你发,邮箱贺卡全新上线! http://card.mail.cn.yahoo.com/__ css-discuss [cs...@lists.css-discuss.org] 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/
Re: [css-d] float problem in IE6/7
Wenlong Xu wrote: > Hi, dear all, > I have met a float problem in IE6/7. > > code: > > > > > > > > > it looks pretty good in FF3+/IE8, but in IE6/7 the #3 DIV seems to be inside > #1 DIV. > is this a IE bug or something else? how to fix it? > > any reply will be helpful, thanks. > Wenlong. > > > It is not necessary to float the lime block. Consequently, it is not necessary to clear the float. The html comment simply tells the software (specifically IE/6) that there is something "in" the division(s). Set it like this and compliant browsers, and even IE/6.0 and IE/7.0 will be on-board: abc body {margin:0; background: #fff; color:#000;} #a {background:lime;height:30px; width:100%;} #b {background:red;height:5px; margin: 0 5px;} __ css-discuss [cs...@lists.css-discuss.org] 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/
Re: [css-d] float problem in IE6/7
Wenlong Xu wrote: > Hi, dear all, > I have met a float problem in IE6/7. > > code: > > > > > > > > > it looks pretty good in FF3+/IE8, but in IE6/7 the #3 DIV seems to be inside > #1 DIV. > is this a IE bug or something else? how to fix it? > > any reply will be helpful, thanks. Change id="1" to id="one" and id="3" to id="three" with the appropriate changes to your style sheet, and then try it out to see how it works. If you have any other div ID's that start with numerals, they must also be changed to start with a letter [A-Za-z]. See http://www.w3.org/TR/1999/REC-html401-19991224/types.html section 6.2 SGML basic types. Reese __ css-discuss [cs...@lists.css-discuss.org] 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/
[css-d] float problem in IE6/7
Hi, dear all, I have met a float problem in IE6/7. code: it looks pretty good in FF3+/IE8, but in IE6/7 the #3 DIV seems to be inside #1 DIV. is this a IE bug or something else? how to fix it? any reply will be helpful, thanks. Wenlong. ___ 好玩贺卡等你发,邮箱贺卡全新上线! http://card.mail.cn.yahoo.com/__ css-discuss [cs...@lists.css-discuss.org] 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/
Re: [css-d] Float Problem in IE6
Lyn Williams wrote: > I'm having problem with a some floats on IE6. Could someone checkout > the following page and let me know exactly what is wrong. > > http://www.ragonline.co.uk/main/ Some content, or residue from IE's white-space bug, is pushing mainrightcol from the inside, and IE6 by default doesn't respect declared dimensions - making mainrightcol too wide. You can add... #mainrightcol {overflow-x: hidden;} ...to eliminate IE6' "auto-expansion" bug and thereby prevent the float drop. regards Georg -- http://www.gunlaug.no __ 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/
[css-d] Float Problem in IE6
I'm having problem with a some floats on IE6. Could someone checkout the following page and let me know exactly what is wrong. http://www.ragonline.co.uk/main/ __ 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/