473,394 Members | 1,715 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,394 software developers and data experts.

IE6 Frustrations - Absolutely Positioned Elements

This page validates XHTML-Strict and the CSS validates as well.

Opera and Netscape 7.0 display it correctly. There should be a film strip
on the left side, bordered in red, a list of links at the top bordered in
yellow, a graphic in the top left hand corner with a dashed purple border,
and content bordered in black.

However, all IE gives me is the content, and its placement is way off. It
does not give me any of the other elements.

The url (it's in testing) is http://66.117.11.37/teststrip2.asp

I would appreciate someone taking a look to see what I am doing wrong that
IE will not render correctly.

TIA

--
Adrienne Boswell
Please respond to the group so others can share
http://www.arbpen.com
Jul 20 '05 #1
2 2089
Adrienne <ar********@sbcglobal.net> wrote:
This page validates XHTML-Strict and the CSS validates as well.

Opera and Netscape 7.0 display it correctly. There should be a film strip
on the left side, bordered in red, a list of links at the top bordered in
yellow, a graphic in the top left hand corner with a dashed purple border,
and content bordered in black.

However, all IE gives me is the content, and its placement is way off. It
does not give me any of the other elements.

The url (it's in testing) is http://66.117.11.37/teststrip2.asp

I would appreciate someone taking a look to see what I am doing wrong that
IE will not render correctly.


Have a look at http://steve.pugh.net/test/adrienne.html

Here's what I did:
1.Removed the XML declaration on the first line as this puts IE into
quirks rather than standards mode.

2. Removed the two (!) float: left; styles from #left. Combining float
and position: absolute; is unlikely to do anything good.

3. Changed the margin-left on #content. IE has a bug and doubles the
left margin on (some?) floated elements. Also by defining the width of
#left in px and the margin of #content in % you ensured that they
would overlap at small window widths.

So I set the margin to 75px for IE and 150 px for Opera and Netscape
(by using the body > #content { ... } which IE doesn't understand).

It now displays mostly the same in IE6, O7 and N7 (all on WinXP)
however you may still have problems in IE5.x which I don't have
availble to test.

BTW when the font size is increased in the browser the text spills
over the film strip background. If it's too late to consider a
redesign I'd make the filmstrip more or less the same colour
throughout and the text a contrasting colour. Will help at slightly
larger sizes but at much larger sizes the text will spill out
horizontally. Matching of foregound and background elements can never
be precise so best to design in as much leeway as possible.

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <st***@pugh.net> <http://steve.pugh.net/>
Jul 20 '05 #2
Gazing into my crystal ball I observed Steve Pugh <st***@pugh.net>
writing in news:ro********************************@4ax.com:
Adrienne <ar********@sbcglobal.net> wrote:
This page validates XHTML-Strict and the CSS validates as well.

Opera and Netscape 7.0 display it correctly. There should be a film
strip on the left side, bordered in red, a list of links at the top
bordered in yellow, a graphic in the top left hand corner with a dashed
purple border, and content bordered in black.

However, all IE gives me is the content, and its placement is way off.
It does not give me any of the other elements.

The url (it's in testing) is http://66.117.11.37/teststrip2.asp

I would appreciate someone taking a look to see what I am doing wrong
that IE will not render correctly.


Have a look at http://steve.pugh.net/test/adrienne.html

Here's what I did:
1.Removed the XML declaration on the first line as this puts IE into
quirks rather than standards mode.

2. Removed the two (!) float: left; styles from #left. Combining float
and position: absolute; is unlikely to do anything good.

3. Changed the margin-left on #content. IE has a bug and doubles the
left margin on (some?) floated elements. Also by defining the width of
#left in px and the margin of #content in % you ensured that they
would overlap at small window widths.

So I set the margin to 75px for IE and 150 px for Opera and Netscape
(by using the body > #content { ... } which IE doesn't understand).

It now displays mostly the same in IE6, O7 and N7 (all on WinXP)
however you may still have problems in IE5.x which I don't have
availble to test.

BTW when the font size is increased in the browser the text spills
over the film strip background. If it's too late to consider a
redesign I'd make the filmstrip more or less the same colour
throughout and the text a contrasting colour. Will help at slightly
larger sizes but at much larger sizes the text will spill out
horizontally. Matching of foregound and background elements can never
be precise so best to design in as much leeway as possible.

Steve


Steve, thank you so much. It was driving me crazy.

--
Adrienne Boswell
Please respond to the group so others can share
http://www.arbpen.com
Jul 20 '05 #3

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

Similar topics

0
by: Travis Spencer | last post by:
Hello, I am having some problem with a statically positioned element being obscured by one that is absolutely positioned. To see what I am working on, go to...
4
by: Christopher | last post by:
This should be a quick one. URL: http://cfa-www.harvard.edu/~cpilman/Stuff/flush.html Code: ============================= <!DOCTYPE HTML Public "-//W3C//DTD HTML 4.01//EN">...
3
by: David Winter | last post by:
This is probably trivial, but I simply don't get it. I have a "position:absolute" type DIV with another one in it. I want the outer DIV to encompass the inner one. I.e., when the inner DIV...
7
by: Jonas Smithson | last post by:
Hello all, I have an absolute positioned parent div, and nested inside it is an absolute positioned child div -- I mean the div *code* is nested inside, but the child is physically positioned so...
5
by: Benjamin Esham | last post by:
Hello all, I have a very wide image that I want positioned in the extreme top left of the page. If the browser window is too narrow to contain the whole thing, that's fine-- the image should...
3
by: Claude Schneegans | last post by:
Hi, The W3C says: "The 'z-index' property is used to specify the stacking order of positionable elements <#Positionable_Elements>." and it defines positionable elements as "Elements whose...
3
by: John A Grandy | last post by:
on my WebForm, Panel1 is positioned absolutely , with settings for Top , Left , Width , Height ... Panel1 contains various sub-panels: PanelA , PanelB , PanelC ... these sub-panels' content...
9
by: Will Hartung | last post by:
http://localhost:8080/funwar/Homepage.jsp http://localhost:8080/funwar/Strategy.jsp Can someone perhaps enlighten me as to why the top nav section on the Homepage linked above is not being...
5
by: felipevaldez | last post by:
how can I put an element below another element, that's not absolutely positioned? so I have a n element, called X, and next to that, an element Y X Y XXXXXX
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
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.