Welcome Guest!

If you do not have an account yet on The Web Squeeze forums, please Register! It’s FREE and there are many benefits:

  • Receive Fast Advice
  • Learn Programming Languages
  • Get Professional Website Reviews
  • Quick Troubleshooting Assistance

> Display Issues

This is a discussion on Display Issues, within the HTML/XHTML section. This forum and the thread "Display Issues" are both part of the Designing Your Website category.

 
Reply to this topicStart new topic
> Display Issues, IE displays as I want it to, FF shifts things
Popje
post May 27 2008, 08:10 PM
Post #1


Rapid Squeezer
****

Group: Members
Posts: 206
Joined: 15-February 08
From: Plymouth
Member No.: 153



Heya

It's me back with yet another problem. I'm not sure if it's an XHTML prob or CSS, but I thought I'd post it here.

The following page displays how it 'should' in IE, but when viewed with FF, when you click through the links on the left menu, some of the pages slightly shift to the left. I've been staring at this for ages, and basically I can't see the wood for the trees. Please can someone help me out again??

Start here

How To Find Us <-- shifts to the left
Our Staff <-- shifts
Our Services <-- stays where it should
Contact Us <-- shifts

I think it might have something to do with the amount of 'stuff' on the page. I know that sounds nuts, but the ones with more information ton the page, then those are the ones that appear to shift - however, the ones that shift, all line up. Aware that I'm sounding slightly crazy, but if you follow the links, you'll see what I mean (I hope).

(I've validated the XHTML and my CSS and they came back without errors. So... apparently I'm doing something right! hehe)

Thanks in advance.
P

This post has been edited by Popje: May 27 2008, 08:13 PM


--------------------
QUOTE
I'm challenged enough without any extra weirdness in my life!
Go to the top of the page
 
+Quote Post
MikeHopley
post May 28 2008, 05:18 AM
Post #2


Squeeze Machine
*****

Group: Mentor
Posts: 602
Joined: 15-February 08
From: UK
Member No.: 143



QUOTE (Popje @ May 28 2008, 02:10 AM) *
I think it might have something to do with the amount of 'stuff' on the page. I know that sounds nuts, but the ones with more information ton the page, then those are the ones that appear to shift - however, the ones that shift, all line up.


If you follow that line of reasoning a little further, you will arrive at the answer.

What new page element appears, and takes up some space, whenever you have lots of content on a page?

Answer: a scrollbar. biggrin.gif

This post has been edited by MikeHopley: May 28 2008, 05:18 AM
Go to the top of the page
 
+Quote Post
Popje
post May 28 2008, 12:27 PM
Post #3


Rapid Squeezer
****

Group: Members
Posts: 206
Joined: 15-February 08
From: Plymouth
Member No.: 153



QUOTE (MikeHopley @ May 28 2008, 11:18 AM) *
If you follow that line of reasoning a little further, you will arrive at the answer.

What new page element appears, and takes up some space, whenever you have lots of content on a page?

Answer: a scrollbar. biggrin.gif

Mike, you're a genius! Thanks mate. I once again feel like "Thicky McThick of the Clan McThick" © Ben Elton/Richard Curtis

P girl_smile.gif

This post has been edited by Popje: May 28 2008, 12:54 PM


--------------------
QUOTE
I'm challenged enough without any extra weirdness in my life!
Go to the top of the page
 
+Quote Post
MikeHopley
post May 28 2008, 01:31 PM
Post #4


Squeeze Machine
*****

Group: Mentor
Posts: 602
Joined: 15-February 08
From: UK
Member No.: 143



QUOTE (Popje @ May 28 2008, 06:27 PM) *
Mike, you're a genius! Thanks mate. I once again feel like "Thicky McThick of the Clan McThick" © Ben Elton/Richard Curtis

P girl_smile.gif


Glad to help. smile.gif It's an easy thing to miss, because we're so used to browsers misbehaving that we expect the answer to be some arcane browser bug. I vaguely recall being surprised by exactly the same "bug" myself, until I had a similar "Thicky McThick" moment.

Because IE always displays a scrollbar, it doesn't suffer from this "bug".

This post has been edited by MikeHopley: May 28 2008, 01:32 PM
Go to the top of the page
 
+Quote Post
velo
post May 28 2008, 02:08 PM
Post #5


Rapid Squeezer
****

Group: Members
Posts: 182
Joined: 19-February 08
From: Netherlands
Member No.: 172



Been there, done that. biggrin.gif
Some might see it as their duty to fix the issue by changing the css so in firefox it'll show a scrollbar too always. I don't see the point. smile.gif

This post has been edited by velo: May 28 2008, 02:09 PM


--------------------

fresh-style.nl - small webdesign & development projects
Go to the top of the page
 
+Quote Post
Popje
post May 28 2008, 05:50 PM
Post #6


Rapid Squeezer
****

Group: Members
Posts: 206
Joined: 15-February 08
From: Plymouth
Member No.: 153



I honestly didn't notice them!! I have to admit, I did actually add a little extra space to stop it from doing the IE-only-left-shuffly-jig thingy!

Still embarrased... but relieved too blush.gif

P. girl_smile.gif


--------------------
QUOTE
I'm challenged enough without any extra weirdness in my life!
Go to the top of the page
 
+Quote Post
Popje
post May 28 2008, 05:51 PM
Post #7


Rapid Squeezer
****

Group: Members
Posts: 206
Joined: 15-February 08
From: Plymouth
Member No.: 153



QUOTE (velo @ May 28 2008, 08:08 PM) *
Been there, done that. biggrin.gif
Some might see it as their duty to fix the issue by changing the css so in firefox it'll show a scrollbar too always. I don't see the point. smile.gif


Glad I'm not alone!! But, just how would you specify that FF show the scrollbars?


--------------------
QUOTE
I'm challenged enough without any extra weirdness in my life!
Go to the top of the page
 
+Quote Post
MikeHopley
post May 29 2008, 01:35 AM
Post #8


Squeeze Machine
*****

Group: Mentor
Posts: 602
Joined: 15-February 08
From: UK
Member No.: 143



QUOTE (Popje @ May 28 2008, 11:51 PM) *
Glad I'm not alone!! But, just how would you specify that FF show the scrollbars?


CODE
body {
    overflow: visible;
}
Go to the top of the page
 
+Quote Post
Popje
post May 29 2008, 07:38 AM
Post #9


Rapid Squeezer
****

Group: Members
Posts: 206
Joined: 15-February 08
From: Plymouth
Member No.: 153



QUOTE (MikeHopley @ May 29 2008, 07:35 AM) *
CODE
body {
     overflow: visible;
}

Ooh, that's a handy piece of code to copy down!! Cheers girl_smile.gif


--------------------
QUOTE
I'm challenged enough without any extra weirdness in my life!
Go to the top of the page
 
+Quote Post
Daygon
post May 31 2008, 12:03 PM
Post #10


Rapid Squeezer
****

Group: Members
Posts: 120
Joined: 13-February 08
From: Houston, Texas
Member No.: 12



also theres the !important code that im still working on... Trying to perfect it but once i do its gonna be fantastic.


--------------------
Jonathon Harrelson
Portfolio: InterAction Media Inc
Available for work
Go to the top of the page
 
+Quote Post
velo
post May 31 2008, 01:08 PM
Post #11


Rapid Squeezer
****

Group: Members
Posts: 182
Joined: 19-February 08
From: Netherlands
Member No.: 172



I also use !important sometimes in my css, but i guess it's not very neat coding. Should use condition comments instead of those kind of hacks. Especially since IE7 also reads the !important line, and what will you do if IE7 is also different from firefox? Then you have to use the double comment hack?
CODE
width: 400px !important;
/*/* ff ignores next line */*/
width: 380px !important;
width: 360px;


4 lines for 1 statement! smile.gif
I will try to force myself to use conditional comments instead of doing the above smile.gif


--------------------

fresh-style.nl - small webdesign & development projects
Go to the top of the page
 
+Quote Post
If you found The Web Squeeze to be helpful, please donate so we can keep this site FREE, FRESH, and fortified with Web Design & Development info!
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No New Posts   6 Monie 246 15th February 2008 - 11:15 PM
Last post by: Monie
No new 14 Itsumishi 384 27th March 2008 - 06:07 PM
Last post by: Itsumishi
No new   14 Monie 172 16th March 2008 - 11:27 PM
Last post by: Monie
No New Posts   9 902 414 10th April 2008 - 03:25 AM
Last post by: Emzi
No New Posts   5 902 221 28th March 2008 - 03:07 PM
Last post by: karinne