DIV problem in IE |
DIV problem in IE |
Nicola |
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. testQ2.html ( 647bytes ) Number of downloads: 585 |
Nicola |
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!!
|
Darin McGrew |
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/ |
Nicola |
Mar 11 2011, 09:22 AM
Post
#4
|
Advanced Member Group: Members Posts: 109 Joined: 16-February 09 Member No.: 7,824 |
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 Edit: That fixed it, thanks again. This post has been edited by Nicola: Mar 11 2011, 10:09 AM |
pandy |
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.
|
Lo-Fi Version | Time is now: 29th March 2024 - 05:45 PM |