Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old March 19th, 2012, 02:24 PM
Authorized User
Points: 96, Level: 1
Points: 96, Level: 1 Points: 96, Level: 1 Points: 96, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2007
Location: North Salem, NY, USA.
Posts: 22
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.
Reply With Quote
  #2 (permalink)  
Old July 7th, 2012, 08:49 PM
Registered User
Points: 9, Level: 1
Points: 9, Level: 1 Points: 9, Level: 1 Points: 9, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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.
Reply With Quote
The Following User Says Thank You to IanPouncey For This Useful Post:
JackHerr (July 8th, 2012)
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 12: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



All times are GMT -4. The time now is 07:28 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.