The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> DIV problem in IE
Nicola
post Mar 9 2011, 04:02 PM
Post #1


Advanced Member
****

Group: Members
Posts: 109
Joined: 16-February 09
Member No.: 7,824



I've attached a file that illustrates a problem I'm having.

In FF, Chrome, Safari, and Opera, this problem doesn't happen: only IE. (I'm using IE8 - I haven't looked at it in earlier versions.)

The problem is: when the browser window is made small enough to require a horizontal scrollbar, the contents of div#right jump around.

Why is it doing this? How can I fix it? I just want it to behave as it does in the other browsers, and stay right beside div#left.

Attached File  testQ2.html ( 647bytes ) Number of downloads: 585
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Nicola
post Mar 10 2011, 05:19 PM
Post #2


Advanced Member
****

Group: Members
Posts: 109
Joined: 16-February 09
Member No.: 7,824



Hmm, 10 downloads and no answers... Have I not explained my problem well enough? Or are you not seeing my problem on your browser? Or does my use of lorem ipsum offend you? I know you can't all be stumped! Please help!! unsure.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Mar 10 2011, 06:40 PM
Post #3


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



I don't have access to MSIE, but your document has no doctype declaration, which puts browsers into quirks mode:
http://hsivonen.iki.fi/doctype/
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Nicola
post Mar 11 2011, 09:22 AM
Post #4


Advanced Member
****

Group: Members
Posts: 109
Joined: 16-February 09
Member No.: 7,824



QUOTE(Darin McGrew @ Mar 10 2011, 06:40 PM) *

Your document has no doctype declaration


Oh, right. For some reason, I've never bothered with that for testing and just put it in before the page goes online. But of course it would affect things! I don't know why that didn't occur to me blush.gif

Edit: That fixed it, thanks again.

This post has been edited by Nicola: Mar 11 2011, 10:09 AM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Mar 11 2011, 01:04 PM
Post #5


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,716
Joined: 9-August 06
Member No.: 6



That is a great recipe for surprises. And I don't have access to IE8 either.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 29th March 2024 - 05:45 PM