473,378 Members | 1,152 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.

IE puts content way down the page

I designed my new front-page of my personal page

http://www.martineyles.me.uk/

in firefox, and all looked fine. But in IE, the main content, which
should be to the right of the menu drops down below the menu. Any ideas
how to fix this.

Thanks,
Martin

PS. sorry that the HTML doesn't validate - I am new to magpie rss (and
also php in fact), and I'm not sure how to strip out the offending xml
namespace attribute from my atom feed. I don't think this is the problem
though, as I also get it on http://www.martineyles.me.uk/meblog/ which
/does/ validate.

--
Martin Eyles
ma**********@NOSPAMbigfoot.com
Dec 2 '05 #1
10 1708
Martin Eyles wrote:
I designed my new front-page of my personal page

http://www.martineyles.me.uk/

in firefox, and all looked fine. But in IE, the main content, which
should be to the right of the menu drops down below the menu. Any ideas
how to fix this.

Thanks,
Martin

PS. sorry that the HTML doesn't validate - I am new to magpie rss (and
also php in fact), and I'm not sure how to strip out the offending xml
namespace attribute from my atom feed. I don't think this is the problem
though, as I also get it on http://www.martineyles.me.uk/meblog/ which
/does/ validate.


Can anyone help?

Martin
Dec 5 '05 #2
Martin Eyles <ma**********@NOSPAMbigfoot.com> wrote:
Can anyone help?


http://www.spartanicus.utvinternet.i...s_help_you.htm

--
Spartanicus
Dec 5 '05 #3
Martin Eyles wrote:
Martin Eyles wrote:
I designed my new front-page of my personal page

http://www.martineyles.me.uk/

in firefox, and all looked fine. But in IE, the main content, which
should be to the right of the menu drops down below the menu. Any
ideas how to fix this.

Thanks,
Martin

PS. sorry that the HTML doesn't validate - I am new to magpie rss (and
also php in fact), and I'm not sure how to strip out the offending xml
namespace attribute from my atom feed. I don't think this is the
problem though, as I also get it on
http://www.martineyles.me.uk/meblog/ which /does/ validate.


Can anyone help?

Martin


To get you started in fixing the page:

#main {/*width: 510px;*/ margin: 0px; margin-left: 210px}
#main div {/*padding: 5px;*/ margin: 0px}

#blog, #photos {/*width: 498px;*/padding: 5px;}

Funny thing is that I thought that in Standards Mode IE6 would not have
this problem.

--
Gus
Dec 5 '05 #4
Spartanicus wrote:
Martin Eyles <ma**********@NOSPAMbigfoot.com> wrote:

Can anyone help?

http://www.spartanicus.utvinternet.i...s_help_you.htm


Ok, try looking at:-

http://www.martineyles.me.uk/test.html

this validates, and has had the content stripped and css trimmed. Still
looks correct in firefox, but not in internet explorer.

Thanks,
Martin
Dec 5 '05 #5
Gus Richter wrote:
Martin Eyles wrote:
Martin Eyles wrote:
I designed my new front-page of my personal page

http://www.martineyles.me.uk/

in firefox, and all looked fine. But in IE, the main content, which
should be to the right of the menu drops down below the menu. Any
ideas how to fix this.

Thanks,
Martin

PS. sorry that the HTML doesn't validate - I am new to magpie rss
(and also php in fact), and I'm not sure how to strip out the
offending xml namespace attribute from my atom feed. I don't think
this is the problem though, as I also get it on
http://www.martineyles.me.uk/meblog/ which /does/ validate.


Can anyone help?

Martin

To get you started in fixing the page:

#main {/*width: 510px;*/ margin: 0px; margin-left: 210px}
#main div {/*padding: 5px;*/ margin: 0px}

#blog, #photos {/*width: 498px;*/padding: 5px;}

Funny thing is that I thought that in Standards Mode IE6 would not have
this problem.


Yes, in the stripped down case certainly, commenting out the widths of
the content works. Will test it on the full version later.

What is happening here? Does the browser just work out that it should
fit in the div and auto-calculated the width according whichever box
model it uses?

How about the bit where I have 3 divs side by side (in the main page). I
still want to specify the sizes, but want all 3 on the same line, and
not falling bellow the side bar.

Anyways,
Thanks.

Martin
Dec 5 '05 #6
Martin Eyles <ma**********@NOSPAMbigfoot.com> wrote:
Can anyone help?


http://www.spartanicus.utvinternet.i...s_help_you.htm


Ok, try looking at:-

http://www.martineyles.me.uk/test.html


Not even close to a minimised test case as outlined in the quoted
resource.

This is what you should have created:
http://homepage.ntlworld.ie/spartanicus/test.htm

Minimizing it like that is, again as noted in the quoted resource, not
just for the group's benefit, you yourself are much more likely to spot
the problem or be able to work around it.

--
Spartanicus
Dec 5 '05 #7
Martin Eyles wrote:
Gus Richter wrote:
To get you started in fixing the page:

#main {/*width: 510px;*/ margin: 0px; margin-left: 210px}
#main div {/*padding: 5px;*/ margin: 0px}

#blog, #photos {/*width: 498px;*/padding: 5px;}

Funny thing is that I thought that in Standards Mode IE6 would not
have this problem.

Yes, in the stripped down case certainly, commenting out the widths of
the content works. Will test it on the full version later.


Check out the times of the posts. I posted way before your submitted
reduced test case.
What is happening here? Does the browser just work out that it should
fit in the div and auto-calculated the width according whichever box
model it uses?
You have to read up on floats and the float box. Essentially what
happens is that a subsequent element(s) to a float will attempt to flow
beside and around floated element(s) (shrink wrap) as long as its width
fits into the remaining width (full width minus the width of the floated
element(s)). If the subsequent element does not fit, it will drop down
to where it will fit. IE calculates the provided fixed width wrongly. By
not defining the width of the subsequent element, the subsequent element
will use (fill) the remaining line width.
How about the bit where I have 3 divs side by side (in the main page). I
still want to specify the sizes, but want all 3 on the same line, and
not falling bellow the side bar.
OK as long as the accumulated width will fit, otherwise the overset
portion will look to position itself down where it will fit.
Anyways,
Thanks.


Anyways,
You're welcome.

--
Gus
Dec 5 '05 #8
Spartanicus wrote:
Martin Eyles <ma**********@NOSPAMbigfoot.com> wrote:

Can anyone help?

http://www.spartanicus.utvinternet.i...s_help_you.htm


Ok, try looking at:-

http://www.martineyles.me.uk/test.html

Not even close to a minimised test case as outlined in the quoted
resource.

This is what you should have created:
http://homepage.ntlworld.ie/spartanicus/test.htm


This is not a minimised version of my page - it behaves completely
differently.

My page is like

_______________________
| |
|______________________|
| | |
|_____|________________|

and your example is

___________________________
|______|_______|___________|

An explanation of how this particular minimisation can help me would
however be appreciated, Although I think that Gus's suggestions might be
the answer to my problem.

ta, m
Dec 6 '05 #9
Gus Richter wrote:
Martin Eyles wrote:
Gus Richter wrote:
To get you started in fixing the page:

#main {/*width: 510px;*/ margin: 0px; margin-left: 210px}
#main div {/*padding: 5px;*/ margin: 0px}

#blog, #photos {/*width: 498px;*/padding: 5px;}

Funny thing is that I thought that in Standards Mode IE6 would not
have this problem.

Does IE6 actually sometimes use the correct box model? Didn't realise that.
Yes, in the stripped down case certainly, commenting out the widths of
the content works. Will test it on the full version later.

Check out the times of the posts. I posted way before your submitted
reduced test case.


Sorry, out of practice reading threaded posts, and had posted to
Spartanicus's reply first, so lost track
What is happening here? Does the browser just work out that it should
fit in the div and auto-calculated the width according whichever box
model it uses?


You have to read up on floats and the float box. Essentially what
happens is that a subsequent element(s) to a float will attempt to flow
beside and around floated element(s) (shrink wrap) as long as its width
fits into the remaining width (full width minus the width of the floated
element(s)). If the subsequent element does not fit, it will drop down
to where it will fit. IE calculates the provided fixed width wrongly. By
not defining the width of the subsequent element, the subsequent element
will use (fill) the remaining line width.


Grand!
How about the bit where I have 3 divs side by side (in the main page).
I still want to specify the sizes, but want all 3 on the same line,
and not falling bellow the side bar.

OK as long as the accumulated width will fit, otherwise the overset
portion will look to position itself down where it will fit.


Ah, this sounds like I would have to make the boxes smaller to fit in
internet explorer. The problem with this is it will leave a 36px (
adding together the borders and padding, which I would have to
compensate for 3*(2*(5+1))px ) unsightly gap in Firefox. Would this be
an appropriate time to use a CSS hack to make the boxes smaller in IE6
than Firefox? If so, what would you suggest?
Thanks.

You're welcome.


Thanks again, (and thanks for helping rather than just telling me off
for not using minimised test cases),

Martin
Dec 6 '05 #10
Martin Eyles <ma**********@NOSPAMbigfoot.com> wrote:
http://www.martineyles.me.uk/test.html
Not even close to a minimised test case as outlined in the quoted
resource.

This is what you should have created:
http://homepage.ntlworld.ie/spartanicus/test.htm


This is not a minimised version of my page


Irrelevant, it's about demonstrating the issue with as little
distraction as possible.
- it behaves completely
differently.
It behaves exactly like your design with regard to the issue you are
struggling with.
An explanation of how this particular minimisation can help me would
however be appreciated
It's an IE bug.
, Although I think that Gus's suggestions might be
the answer to my problem.


And since I saw his reply before I posted I didn't bother repeating it.

--
Spartanicus
Dec 6 '05 #11

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

Similar topics

11
by: Not4u | last post by:
Hello, I have a problem with CSS code. I want to have one menu column with a fixed width and a 100% height and the rest of the page for content. ---------------- |.|.|<--100%-->|...
22
by: Matt | last post by:
When browsing a web page a user has the ability to highlight content on a page (by holding down the left mouse button and dragging the mouse over the desired content). Is there a way to disable...
0
by: David | last post by:
In ASP.NET 2.0, is it possible to use a control that's on a Master Page as a select parameter in a content page's datasource control? For example, the Master Page has a drop down list of...
0
by: Managed Code | last post by:
Hello All, Here is my issue and thanks in advance for any assistance. I have a base page with a dropdownlist that fires an event with the selected index. The content page catches the event and...
4
by: cathy | last post by:
Hi All, I am having problems displaying content relevant to the option selected in a drop-down menu. I have an xml document which is running content through Flash and I need to have the same...
0
by: mrjoka | last post by:
hi friends; i'm stuck in a web site and i hope you can help me. i'm working in a statistic web site where i'm using mastre page(this is the first time i'm working with master page) in this mastre...
9
by: pbd22 | last post by:
Hi. This is just a disaster management question. I am using XMLHTTP for the dynamic loading of content in a very crucial area of my web site. Same as an IFrame, but using XMLHTTP and a DIV. I...
9
by: anon.asdf | last post by:
In terms of efficieny: Is it better to use multiple putchar()'s after one another as one gets to new char's OR is it better to collect the characters to a char-array first, and then use...
6
by: AJM Project | last post by:
Hello, I see this is a well known thing and have seen many answers but none have worked for me. It's just a test page I'm making and I've ran into this so I thought I'd ask how to fix it - inline...
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: 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...
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.