Wrox Programmer Forums
|
BOOK Beginning CSS: Cascading Style Sheets for Web Design, 3rd ed
This is the forum to discuss the Wrox book Beginning CSS: Cascading Style Sheets for Web Design, 3rd Edition by Ian Pouncey, Richard York; ISBN: 978-0-470-89152-0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK Beginning CSS: Cascading Style Sheets for Web Design, 3rd ed section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 19th, 2012, 02:24 PM
Authorized User
 
Join Date: Nov 2007
Posts: 23
Thanks: 3
Thanked 0 Times in 0 Posts
Default Question on Peek-A-Boo IE6 Bug

The book indicates (p. 188) that applying "a fixed width to the containing element" should solve the peek-a-boo problem in IE6. If I am doing a fixed-width website, where the "body" is center text aligned (separately for IE6), and then a "page" div with a fixed width (in my case 970px) and left text-aligned (the latter to compensate for the IE centering fix), where all content is then contained within the "page" div, does that qualify as a fixed width container for any and all floated and then cleared elements?

In other words, by having a fixed width at a container at a very high level, does that create hasLayout for all lower levels in a way that fixes this (and perhaps other) bugs?

Thanks.
 
Old July 7th, 2012, 08:49 PM
Registered User
 
Join Date: Feb 2012
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi Jack,

The fixed width needs to be applied to the containing element, in the example this is the element with id of 'container'.

IE's hasLayout property does not cascade, so common fixes like zoom: 1; need to be applied directly to the element you want to affect.
The Following User Says Thank You to IanPouncey For This Useful Post:
JackHerr (July 8th, 2012)





Similar Threads
Thread Thread Starter Forum Replies Last Post
IE6 Hover Bug - Causing containing DIV to collapse socoolbrewster CSS Cascading Style Sheets 0 August 1st, 2008 09:46 AM
In IE6 How do you get Whitespace??? David P. Manning CSS Cascading Style Sheets 0 April 24th, 2007 08:01 AM
Bug or no to bug learning C using VS.Net to compil tesh All Other Wrox Books 0 February 14th, 2007 01:06 PM
Newbie and IE6 comports XML 3 July 7th, 2005 05:10 AM
I need the code of Ivor Horton's Beginning C++ boo zgzunique C++ Programming 1 June 7th, 2005 01:49 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.