473,511 Members | 17,017 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

IE7 Oddity (Site works in other browsers)

4 New Member
HI Folks,

New here but i've followed a few other threads in the past so hoped someone could help!

Have a new site design that seems to work fine in FF/Safari/IE6 but not IE7... i'm not sure where the issue lies, but it seems to be CSS related and the way in which IE7 handles it - though i am also getting an error claiming a variable is either null or not an object - but only in IE7 again....

URL is: http://www.laney.co.uk/Laney07/show_prod.php?prod=A1

In FF/Safari the images appear as required (though different in both!) with a standard float left and right working normally...

I only found out when someone told me as i never used IE7 and the site worked fine in 6, Safari etc so stupidly thought 7 would be ok... am i not doing something blatantly obvious!?

Scott
Mar 26 '07 #1
6 1453
ConanTheVegetarian
24 New Member
Not sure if this is relevant but ran it through the javascript validator which gave an error:

Error: Thumbs has no properties
Source File: http://www.laney.co.uk/Laney07/show_prod.php?prod=A1
Line: 119
Mar 26 '07 #2
munchit
4 New Member
Thanks for that, that's a slightly more useful variation on the error that IE7 gives regarding the object/null thing above!

I'll go and have a look at that....

From some reading around it seems that IE7 handles margins/padding etc differently than other browsers when using <ul> - but i can't find what it actually does differently!
Mar 26 '07 #3
drhowarddrfine
7,435 Recognized Expert Expert
IE uses margin while FF uses padding.

You have 31 html errors.
Mar 26 '07 #4
munchit
4 New Member
Ah!

Why can't they just agree :(

Is there any way i can set a browser specific tag in the CSS as otherwise a margin AND padding is going to cause no end of grief!

Thanks for the heads up - at least i now what i'm trying to tackle now :)
Mar 26 '07 #5
drhowarddrfine
7,435 Recognized Expert Expert
This is why it is better to set all margins/padding to zero and just adjust them where necessary. You can use conditional comments:

<![if IE 7]>
#myul{
margin:0;
padding:0;
}
<![endif]>

This only works for IE.

Here's a link with more info about the list problem.
Mar 26 '07 #6
munchit
4 New Member
I have set to 0 though, hence why i was puzzled....

I'll throw that code in and see what i can fathom. Thanks greatly for the help!
Mar 26 '07 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

12
15607
by: RR | last post by:
The next step after Grant Wagner's simple solution to my "Get computer name" thread, is to automatically add the web application's site to the list of trusted sites in IE. Obviously, the user...
6
2256
by: Alex Rast | last post by:
First of all, this is not a programming question. I'm a user, not programming in JavaScript. I'm not, however, a novice user or even a power user - I certainly know programming intimately as well...
21
1965
by: Florian Brucker | last post by:
Hi! With the help of this group I finally managed to transfer my website from table layout to CSS layout. The site is now online and I would really appreciate comments about it. I'm...
8
2582
by: Information | last post by:
I'm looking for a script that will check a visitors browser. Now, I only want visitors using Microsoft InterNet Explorer to visit existing URL and all other browsers will be redirected to another...
5
2811
by: phil_gg04 | last post by:
Dear Javascript Experts, Opera seems to have different ideas about the visibility of Javascript functions than other browsers. For example, if I have this code: if (1==2) { function...
64
4198
by: Dave | last post by:
A friend of mine pointed out the other day that certain elements on my web site are too small. But in most of what I publish, fonts are at default size or smaller, and my images are easy to see. I...
15
1272
by: VB Programmer | last post by:
Take a look at the SAME site, with different CSS style sheets: http://www.csszengarden.com/ Cool stuff. Interesting article on CSS vs Tables: http://www.hotdesign.com/seybold/index.html
71
4762
by: Murray R. Van Luyn | last post by:
Hi, Since I have made changes to my website it's been a complete flop. According to the logs, as soon as visitors have downloaded the index page they are off. I can't figure out why? ...
8
16321
by: Ben Bacarisse | last post by:
After finding a page on an existing site that was not being displayed correctly by IE7, I have boiled the problem down to the following simple example: http://bsb.me.uk/tmp/bug.html With...
0
7138
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7355
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7510
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5668
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3225
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3213
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1576
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
781
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
447
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.