Quantcast
Channel: Pragmatic Forums | Posts in topic 'Example on Ajax/Geometry Breaks with IE'
Viewing all articles
Browse latest Browse all 9

Example on Ajax/Geometry Breaks with IE posted by Christophe Porteneuve @ Sun, 02 Dec 2007 11:58:11 +0000

$
0
0

Hey Khoivu,

I finally found a moment to test the Ajax geometry example on IE6, as provided in the code archive for the book. Functionally, it works like a charm, so I don’t know what kind of issue you have, perhaps you typed it yourself and forgot a tiny thing?

On the other hand, the CSS doesn’t work so well (IE6 doesn’t size positioned elements based on left and right only, it requires width), so I tweaked the CSS for it and will upload it in a book erratum at some point.

Here is the changed part of geometry.css:


.widget {
  position: absolute; top: 5em; width: 15em;
  border: 0.25em solid gray; background: silver;
  padding: 2em 0.5em 0.5em;
}

.widget h2 {
  position: absolute;
  top: 0; left: 0; width: 15.6em; height: 1.5em;
  font-size: 1em; line-height: 1.5em;
  margin: 0; padding: 0 0.2em;
  background: gray; cursor: move;
}

‘hope this helps,

- Christophe


Viewing all articles
Browse latest Browse all 9

Latest Images

Trending Articles





Latest Images