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

Relative Positioning Issue in IE

Regarding the oft-discussed http://users.rcn.com/neal413 - after altering
the stylesheet to accommodate a fluid design model, encountering odd
behavior.

HTML consists of a relatively-positioned all div, containing a header div,
an innerwrap div (containing the content and navigation divs and a footer
div. These 3 major divs are all relatively positioned. I'd expect them to
fall naturally in order on the page. In Opera display is as expected.
Mozilla is not working on my comuter at the moment, will check that at
first opportunity.

However, in IE6 the nav division, which is absolutely positioned, appears
to be aligning to the content division, which is not a parent but a
preceding sibling (which is not positioned anyway). This seems exceedingly
odd to me.

An additional problem in the IE rendering is the left-float (class "copy")
in the footer.

Any idea why this is happening, and possible reworking of the problem,
would be humbly appreciated.

Jul 20 '05 #1
5 1875
On Sun, 08 Feb 2004 13:06:38 -0500, Neal <ne*****@spamrcn.com> wrote:
Regarding the oft-discussed http://users.rcn.com/neal413 - after
altering the stylesheet to accommodate a fluid design model,
encountering odd behavior.

HTML consists of a relatively-positioned all div, containing a header
div, an innerwrap div (containing the content and navigation divs and a
footer div. These 3 major divs are all relatively positioned. I'd expect
them to fall naturally in order on the page. In Opera display is as
expected. Mozilla is not working on my comuter at the moment, will check
that at first opportunity.

However, in IE6 the nav division, which is absolutely positioned,
appears to be aligning to the content division, which is not a parent
but a preceding sibling (which is not positioned anyway). This seems
exceedingly odd to me.


I have solved the issues by removing the all div, and giving the innerwrap
div a 1px border matching the background color. Still, why does IE align
properly in this case only when a border is set? Is this a known bug? (Not
known to me at this time...)

I dare say the layout will currently please the fluid-layout camp...
though if anyone is running N/Moz Nav, I still cannot get it to run, so
feedback would be most welcome.
Jul 20 '05 #2
On Sun, 8 Feb 2004, Neal wrote:
Regarding the oft-discussed http://users.rcn.com/neal413 - after altering
the stylesheet to accommodate a fluid design model, encountering odd
behavior.


I looked at your page again, and - without putting the internals under
the microscope - my impression is that it behaves much better across
browsing variations, without its appearance in the "mainstream"
viewing situation being impaired. Good stuff.

Looking at it in Mozilla, if I might make a suggestion, the main text
seems to go rather close to the right hand edge. IE looks broadly
similar. I think the appearance might be a tad better balanced with a
shade more right-hand margin or padding for the text.

Percentages are a useful unit to maintain balance across different
browser widths and without occupying too much real-estate in a narrow
browser window.

A last point: for very wide windows, I'd be inclined to specify a
max-width in em units for the text area, for the benefit of those
browsers which support it.

hope this helps.

Jul 20 '05 #3
Thanks, Alan...

On Tue, 10 Feb 2004 10:46:18 +0000, Alan J. Flavell <fl*****@ph.gla.ac.uk>
wrote:
Looking at it in Mozilla, if I might make a suggestion, the main text
seems to go rather close to the right hand edge. IE looks broadly
similar. I think the appearance might be a tad better balanced with a
shade more right-hand margin or padding for the text.
Hmm, I'm seeing no obvious right-edge difference between Opera and IE6 (or
5 for that matter). If anything, IE appears to give a tad more margin than
IE...
A last point: for very wide windows, I'd be inclined to specify a
max-width in em units for the text area, for the benefit of those
browsers which support it.


I can try that... but first, to get Mozilla back working...
Jul 20 '05 #4
On Tue, 10 Feb 2004, Neal wrote:
Looking at it in Mozilla, if I might make a suggestion, the main text
seems to go rather close to the right hand edge. IE looks broadly
similar. I think the appearance might be a tad better balanced with a
shade more right-hand margin or padding for the text.


Hmm, I'm seeing no obvious right-edge difference between Opera and IE6 (or
5 for that matter).


I don't seem to have expressed myself effectively enough here... Let
me try again: I started on Mozilla - I had the impression that I'd
have wanted a tad more right-hand margin for a balanced look; I then
tried IE6 - and decided that I felt the same. And actually, now that
I try Opera 7, I can only confirm that impression. I'm seeing "no
obvious differences" - I just want to see a little bit more margin
at the right.

But no big deal - design choices are inevitably subjective.

Jul 20 '05 #5
> I don't seem to have expressed myself effectively enough here... Let
me try again: I started on Mozilla - I had the impression that I'd
have wanted a tad more right-hand margin for a balanced look; I then
tried IE6 - and decided that I felt the same. And actually, now that
I try Opera 7, I can only confirm that impression. I'm seeing "no
obvious differences" - I just want to see a little bit more margin
at the right.


I gotcha. But I do agree, copuld use a little more breathing room, thanks.

Jul 20 '05 #6

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

Similar topics

4
by: Ken Kast | last post by:
Here's my situation. I have a statically positioned table that has an image in a cell. I also have some layers, defined by absolute-positioned DIVs for some animation. Everything works until I...
2
by: Stephen Weatherly | last post by:
Could anyone please help me with a problem I am having with my table widths??? If I have 2 images within a td tag, but using CSS relative positioning I position one over the top of the second (I...
2
by: Catherine Lynn Wood | last post by:
I need to know how to overlap DIV content within 'relative' associated rendering. I am building div layers in the middle of a page and when I set positioning to absolute in the CSS, it references...
8
by: Asad | last post by:
Hi, I am basically trying to accomplish drop down menus for navigation on a site. And I'm pretty much done except I am having one problem. The z-index is not working with relative positioning! ...
1
by: David Dorward | last post by:
I'm trying to come up with a list of uses for relative positioning. Can anybody think of any I've missed? * Establishing a local positioning context on an element for the benefit of its...
3
by: Markus Ernst | last post by:
Hello Reading the follwing document: http://www.w3.org/TR/WD-positioning-970131#In-flow it seems very clear that position:relative should be relative to the parent element. So in the following...
17
by: George Hester | last post by:
http://tinyurl.com/5uj6w The lower middle icon the "block" should not drop down when the mouse is over it. How can I stop that? Also the navigation divs both top and bottom should follow the...
2
by: Rob R. Ainscough | last post by:
I'm slowly (very slowly) working my way thru the bizarre and sadistic world of control positioning in MultiViews (ASP 2.0). I came across this to help me explain (or attempt to anyway) why my web...
3
by: mikewse | last post by:
I have a strange problem where it seems IE is doing the correct layout but Firefox and Safari isn't. I think I'm probably wrong, and there is something in the standards that say behaviour should be...
7
by: Cruelemort | last post by:
All, I have a div in my page that has a set width of 1000px, height of 200px, inside this i declare two more div's, both relatively positioned and floated left, the first is placed to the top...
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: 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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: 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
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...

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.