473,378 Members | 1,280 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Columns and asides - IE issue

OK, I'm confused. This wouldn't be the first 100 times, but I'm not sure
I understand how to fix this one.

I'm building a document template. One of the constructs I want is an
aside. I can do this for both asides with formatted text and <pre></pre>
text as shown on the following page.

http://webpages.charter.net/mdeggers/asides/asides.html
http://webpages.charter.net/mdeggers...css/asides.css

Everything validates. Firefox, Konqueror, and IE 6 display the same
general page (fonts not withstanding).

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/mdeggers...col-aside.html
http://webpages.charter.net/mdeggers.../col-aside.css

Again, everything validates. Firefox and Konqueror work as expected.
Unfortunately IE 6 botches the <pre></pre> aside, pushing the text below
the image. You can also see by the top and bottom borders that the
aside-frame class dimensions have stretched to include the <pre></pre>
text.

What sort of hacks (if any) are possible to get IE 6 to play right in this
environment?

/mde/
just my two cents . . . .
Jul 21 '05 #1
1 1573
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/mdeggers...col-aside.html
http://webpages.charter.net/mdeggers.../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
Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: utkanbir | last post by:
Hi , This is related to datawarehouse , data mining . We are told that data mining tools such as spss or sas , need a large table which has lots of columns inside . Based on our project , out...
0
by: utkanbir | last post by:
Hi , This is related to datawarehouse , data mining . We are told that data mining tools such as spss or sas , need a large table which has lots of columns inside . Based on our project , out...
3
by: Diego TERCERO | last post by:
Hi... I'm working on a tool for editing text resources for a family of software product my company produces. These text resources are found in a SQL Server database, in a table called...
4
by: Hexman | last post by:
In my application I retrieve about 100 rows from an Access DB to perform a daily process. A sql query statement selects, joins, and orders the dataset. Now, out of the dataset, the user may need...
13
by: Jo | last post by:
Hi. I'm getting the following error when creating a table with 250 columns .. I have tried creating it in a 32K tablespace , still the same issue. Is this a limitation in DB2? I am using DB2...
8
by: DaFrizzler | last post by:
Hi, I have received the following email from a colleague, and am quite frankly baffled by the idea. I am just wondering if anyone has any advice or suggestions about this???? === BEGIN MAIL...
9
by: Earl | last post by:
I have somewhat of an interesting scenario: The form allows the user to select a service, which populates a a grid of product information related to that service ("service grid"). The user can...
2
by: =?Utf-8?B?SmF5IFBvbmR5?= | last post by:
Based on wether a row is selected in a GridView I need to HIDE the last two columns of a gridview. I do NOT need to make the cells invisible I want to hide the entire column. When I set the...
3
by: ASPnewb1 | last post by:
I am currently filling a dataTable then adding this table to a dataset, setting the dataset to the Gridview's datasource. If I set the Gridview to generate columns automatically it will fill the...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.