This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Stylesheets > January 2005 > Columns and asides - IE issue
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Columns and asides - IE issue
|
|
|
|
| Mark Eggers 2005-01-20, 11:19 pm |
| On Wed, 19 Jan 2005 14:32:39 -0800, Mark Eggers wrote:
> OK, I'm confused. This wouldn't be the first 100 times, but I'm not sure
> I understand how to fix this one.
> Now I took the exact same structure and dropped it into the Faux columns
> template from http://www.alistapart.com/articles/fauxcolumns/. You can
> see the results on the following page.
>
> http://webpages.charter.net/mdegger.../col-aside.html
> http://webpages.charter.net/mdegger...s/col-aside.css
>
After some investigation, I found the issue. It seems that Internet
Explorer will try to expand containing <div></div> to hold <pre></pre>
text. When the containing div is next to a float, IE breaks the float in
order to not expand the div. If that fails, then IE also expands the div.
Firefox and Konqueror just let the text spill out into the rest of the
page.
I should have realized this when I saw the borders on the containing div
change size.
I've fixed this in the above link by expanding the containing div a bit.
However, this arrangement will only work if the page author is careful
about sizing the <pre></pre> text.
I'll need to read a bit more on the overflow property, but this looks like
IE violates the standard (surprise, surprise). The next trick will be
getting around the trouble - and letting the text render outside the
containing block without messing up the float.
/mde/
just my two cents
| |
| Mark Eggers 2005-01-24, 4:21 am |
| On Wed, 19 Jan 2005 14:32:39 -0800, Mark Eggers wrote:
> OK, I'm confused. This wouldn't be the first 100 times, but I'm not sure
> I understand how to fix this one.
> Now I took the exact same structure and dropped it into the Faux columns
> template from http://www.alistapart.com/articles/fauxcolumns/. You can
> see the results on the following page.
>
> http://webpages.charter.net/mdegger.../col-aside.html
> http://webpages.charter.net/mdegger...s/col-aside.css
>
After some investigation, I found the issue. It seems that Internet
Explorer will try to expand containing <div></div> to hold <pre></pre>
text. When the containing div is next to a float, IE breaks the float in
order to not expand the div. If that fails, then IE also expands the div.
Firefox and Konqueror just let the text spill out into the rest of the
page.
I should have realized this when I saw the borders on the containing div
change size.
I've fixed this in the above link by expanding the containing div a bit.
However, this arrangement will only work if the page author is careful
about sizing the <pre></pre> text.
I'll need to read a bit more on the overflow property, but this looks like
IE violates the standard (surprise, surprise). The next trick will be
getting around the trouble - and letting the text render outside the
containing block without messing up the float.
/mde/
just my two cents
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|