Sent by adwinwijaya on 22 November 2004 10:10
Hello Gunlaug,
Monday, November 22, 2004, 6:28:21 PM, you wrote:
GS> adwinwijaya wrote:
>> The #blockContent should have grey backgroud, but it didnt displayed
>> in there ... is it because I use float for imageGallery ?
GS> That's right. The container won't expand since there are only floats in
GS> it, so you have to help it a little.
GS> I added a clearer above the closing tag of <div id="blockContent">, and
GS> it looked good in Mozilla.
GS> Like this:
GS> HTML:
GS> ----
GS> </ul>
GS> </div>
GS> <br style="clear: both;" />
GS> </div>
GS> ----
GS> You may use whatever clearing-method you like, and style it properly in
GS> your CSS.
GS> However, IE/win isn't happy with the method I use, so I also added a
GS> height-hack to the div:
GS> CSS:
GS> ----
GS> @media all {
GS> * html blockContent {height: 0;}
GS> }
GS> ----
Btw, Where I should put @media all{...}. Should I put in style.css
(top of the page or at the bottom) ?
I tried, it works very well on mozilla, but not on IE, I guess I put
@media all{...} in wrong location.
Thx anyway.
--
Best regards,
adwin
www.kuya-kuya.net
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/