|
Convenient web based access to our favorite web design Usenet groups
|
 |
This is Interesting: Free Magazines for Graphics designers and webmasters
| Author |
| Thread |
 |
|
|
|
|
|
 |
 |
 |
Columns and asides - IE issue |
 |
|
 |
|
|
|
 |
 |
Re: Columns and asides - IE issue |
 |
|
 |
|
|
|
  01-21-05 - 04:19 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
|
|
|
| [
Post Follow-Up to this message ]
|
|
|
|
|
 |
 |
Re: Columns and asides - IE issue |
 |
|
 |
|
|
|
  01-24-05 - 09: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
|
|
|
| [
Post Follow-Up to this message ]
|
|
|
|
|
 |
|
|
 |
| All times are GMT. The time now is 09:54 AM. |
 |
|
|
|
|
|  |
|