Solved

jQuery widget acts weird in IE7

Posted on 2010-08-23
3
348 Views
Last Modified: 2013-12-08
Hi -
I have a website that is giving me a lot of problems when viewed in IE7.  

On this page I'm trying out an excellent jQuery plug-in called Scroll-to.   Above the big rectangle (screen div) in the middle of the page there are 11 links inside a "navigation" div.  In any other browser these links sit nicely above the rectangle but in IE7 they are shoved over to the right.  They are pushed right out of the main-content area.

I am not a javascripter at all so I'm guessing when I say that the problem is not javascript but rather the CSS.  But I'm not sure.

What change do I need to make for IE7 to render these links the same way as seen in other browsers?

Thanks in advance for your help.
d2


0
Comment
Question by:dzash2000
3 Comments
 
LVL 16

Accepted Solution

by:
s8web earned 250 total points
ID: 33503857
I would start by correcting the errors in your markup.
There are a few that could cause display issues -  
http://tiny.cc/ag1aq 

0
 
LVL 19

Expert Comment

by:Albert Van Halen
ID: 33504579
Funny
It seems that the stylesheet http://thymetoeat.net/N2010/w/_css/serialscroll-jl3.css is generated dynamically.
In IE7 there's a rule #navigation.
It has the following :
#navigation{
            width:800px;
            text-align:center;
            margin-left:22px;
      }
While in FireFox and IE8 the rule isn't even there...
Well; width set to 800px is the problem.

NB Take s8web's comment into account as well, invalid documents (sometimes) render incorrect.
0
 

Author Closing Comment

by:dzash2000
ID: 33506413
Cleaning up all the issues on the css and html made everything clear.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Jquery datatables integration with ASP.NET MVC, bootstrap 3 22
IFrame in MVC 2 23
removing a class in javascript 4 48
Javascript 2 22
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question