Thanks, that was exactly what was needed! I greatly appreciate it.
On 4/16/11 12:19 AM, David Hucklesby wrote:
On 4/15/11 1:35 PM, Victor Danilchenko wrote:
I put together a page to show the problem at
http://www.askonline.net/overflow_test.html . Basically, if the
container node is fixed-width with 'overflow: visible' set, the
content node will not overflow the nodes A&B -- it will instead
stretch them.
The link above starts out with 'overflow: hidden', but hover over the
box, and JS will toggle overflow state to 'visible'. under FF and
Safari, this correctly keept the box the same size, but displays
overflow text. under IE8, it resizes the container box to accommodate
the content, despite my setting of "width: 6em" in the container.
[...]
Without a DOCTYPE, browsers are in quirks mode. Real browsers still obey
CSS rules except for a couple of things like box sizing. All versions of
IE will behave like IE 5.5 though.
If you want to keep browsers in quirks mode, including IE 6 and 7, but
want IE 8 and 9 to be as standard as they can be, add the
X-UA-Compatible META element to the HEAD of your document, or configure
your server.
Read the section headed "Make sure the latest version of IE is used" on
this page:
<https://github.com/paulirish/html5-boilerplate/wiki/The-markup>
Better though to use a full DOCTYPE...
--
Victor Danilchenko
Senior Software Engineer, AskOnline.net
vic...@askonline.net - 617-273-0119
______________________________________________________________________
css-discuss [css-d@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/