473,563 Members | 2,884 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

IE and Firefox incompatibility issue

Hello!

For some reason, Internet Explorer is displaying one CSS-layer on my
website http://home.arcor.de/nilsweisensee/links.html slightly
differently than Firefox, Opera, Konqueror and Safari are displaying
it. The menu with link categories in the upper-right corner of the
grey box is positioned 10 pixels to the right by IE, while all the
other browsers position the menu a bit more left. With IE, the menu
overlaps with the border of the grey box.

The corresponding stylesheet can be found at
http://home.arcor.de/nilsweisensee/css/styles.css ...it would be great
if somebody could take a look at it and help me find out what's wrong.
The class of the miss-positioned object is "headline2" . It's not
placed within a table, so I don't think the problem is caused by IE's
box border bug.

Thanks for your help!

NilS
Jul 21 '05 #1
2 3837
Nils Weisensee wrote:

For some reason, Internet Explorer is displaying one CSS-layer on my
website http://home.arcor.de/nilsweisensee/links.html slightly
differently than Firefox, Opera, Konqueror and Safari are displaying
it. The menu with link categories in the upper-right corner of the
grey box is positioned 10 pixels to the right by IE, while all the
other browsers position the menu a bit more left. With IE, the menu
overlaps with the border of the grey box.

A handy diagnostic aid is to put a visible border around each element
to see where the edges are.
In this case IE and Firefox interpret the Frameset DTD slightly
differently. IE considers everything to be inside the div.main, including
the scroll bar. Firefox places the scroll bar outside div.main. The 10px
difference is the scroll bar width.

--
jmm dash list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Jul 21 '05 #2
Hi Jim,

Thanks for your hint! The problem wasn't caused by the scrollbar-issue
you described, but I found the error by putting black frames around
the elements. The problem was that I had assigned a smaller width to
the element "main" than to the "content"-element inside of it. IE
simply enlarged the "main"-element to make sure the "content"-element
fit into it. Firefox, in contrast, respected the too-small size of the
"main"-element and simply allowed "content" to extend the
"main"-element and overlap. In the end, the "main" element was
displayed in different sizes by IE and Firefox. That's what caused the
element "headline2" to be positioned differently.

Thanks -
NilS
Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
6440
by: JB | last post by:
Navigation is not possible on a Mac with Safari/Firefox on: http://www.kerst.karelv.nl/frames/navigatie.html Why does the javascript script not work? -- JB
6
6859
by: michaelzap | last post by:
I can't seem to remove some extra margin/padding from my design on this site: http://www.kyowa-usa.com/ IE displays it properly (no space between the menus and other elements and the outer border), but in Firefox I always end up with some space. I have tried several box model fixes (to no avail), and I'm no longer sure that's what's...
2
1762
by: Michael Chong | last post by:
Another same issue on "NullReferenceException" :- I have an (exe) executable program created in VB.NET 2003 that calls to a MFC DLL written in VC++.NET 2003. I always get an error msg "NullReferenceException: Object Reference Not Set to an Instance of an Object" when my exe calls the following codes: in VB.NET Declare Function test Lib...
6
14437
by: Mark Olbert | last post by:
The doPostBack javascript functioning is not submitting the page when called by linkbuttons (or an autopostback checkbox, for that matter). I'm aware of a problem with Netscape browsers and the postback code, but I have a workaround for that installed (and it looks like the code generated by ASP.NET when it renders the page does the same...
2
5810
by: Doug Lind | last post by:
Hi all, I have seen a number of posts re: the BinaryFormatter version incompatibility but nothing on how to recover from it. In my case, I want the exception to trigger an alternate behaviour and continue process the stream. My app reads and writes configuration settings to a binary file upon starting and shutdown. The settings are...
12
2034
by: Brad | last post by:
Does anyone have any other solutions to the Firefox rendering problems with ASP.NET? I've tried the <browsercaps> web.config trick. It didn't work. Am I overlooking something else? Thanks!
5
2038
by: J | last post by:
I have installed dotnet 2.0 on two machines with Outlook BCM, and both have caused problems with BCM loading. The first i restored the machine to before the dotnet 2.0 was installed, and the second i removed BCM after which Outlook opened fine. Is there a patch for this? If there is can i bundle it with my app? App is coded with DotNet 2.0 VB...
1
966
by: markymark | last post by:
Hi guys can anyone tell me why this code works in Internet Explorer and not in Firefox? and how i can go about fixing the incompatibility problem ? CODE:: function formLogin(){ var bName = navigator.appName; document.write(" username:" + document.getElementById("logusername").value); document.write(" password:" +...
11
11206
by: saril.ks | last post by:
Hi The JSON object I am using is as below . this object is returned after an AJAX call {"application" :} In the JS i am using the below code data = ajaxRequest.responseText ;
0
7664
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7583
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7885
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7948
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5484
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5213
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3642
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1198
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.