473,396 Members | 1,743 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

My Website - strange behaviour in Firefox

If anyone could help me out here. I am the webmaster of the following
corporate website: http://www.otpp.com/. When I load this page in IE
or Netscape for PC the postion of all of the elements on the homepage
is generally the same between these two browsers. When you navigate
into the site the Teachers' logo is always in the same position on all
pages. In Firefox the Corporate/Teachers' logo sites significantly
lower but only on the homepage and it straightens itself out on all of
the other pages in Firefox. So the logo moves up on the page in Firefox
once you navigate past the homepage.

I cannot figure out why this bug exists. Could anyone help me out
here?

Thanks

Dec 9 '05 #1
1 1448
newspost2000 wrote:
[...] When you navigate
into the site the Teachers' logo is always in the same position on all
pages. In Firefox the Corporate/Teachers' logo sites significantly
lower but only on the homepage and it straightens itself out on all of
the other pages in Firefox. So the logo moves up on the page in Firefox
once you navigate past the homepage.

I cannot figure out why this bug exists. Could anyone help me out
here?

It is not a bug. You have incompletely specified spacing, leaving
various spacing aspects to the browser's imagination. The <body> on the
index page has some spacing added to the top.
- Use a complete DTD spec:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
Doing so allows a more uniform experience across browsers.
You should really use HTML 4.01 Strict for the best cross-browser
compatibility, but that means you must overhaul your site; it has a lot of
antiquated code usage.
- Add
html, body { margin: 0; padding: 0: }
to your main CSS file.

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Dec 10 '05 #2

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

Similar topics

2
by: niels.froehling | last post by:
Hy; I converted the tables (for _tabular_ :) data) in a project from the plain <table><tr><td></td></tr></table> structure to seperation into head/foot/body divisions (not the <div>-element)....
7
by: lewisthesmith | last post by:
Hi everyone, I have been working on converting a site from a frames / tables layout to a CSS based one. I thought I had it all sorted, however I am getting some odd behaviour in IE: when I...
18
by: fishwick | last post by:
I haven't really done any css in quite a while, and am banging my head against the wall trying get the rudimentary layout together of a church website home page to display correctly - I don't want...
2
by: Roger | last post by:
Hi, Can anybody help to fix the vertical centering of an image in Firefox (2.0)? Apparently, Firefox puts the top half of the image in the background of the top of the screen instead of placing...
1
by: dskrizhewsky | last post by:
Hello, I have the following algorithm 1. Show message DIV 2. Long Loop Function 3. Hide message DIV
6
by: Michael Landberg | last post by:
Hi I am crewating a website using HTML and Javascript. The website can be seen by everybody that has internet. Do I have to consider that some people don't have javascript enabled in their...
11
by: ft310 | last post by:
Use Internet Explorer go to http://rhodeisland-aa.org/tester/meetings/index.htm On the left click "and go to meetings" Click any address in the right hand 'location' column. The entire page...
4
prometheuzz
by: prometheuzz | last post by:
Hello all, There's this problem I have, which I am unable to find a solution for. The problem is this: I cannot post messages with a specific size on (certain) forums. I hear you thinking: what...
8
by: Dox33 | last post by:
I ran into a very strange behaviour of raw_input(). I hope somebody can tell me how to fix this. (Or is this a problem in the python source?) I will explain the problem by using 3 examples....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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
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,...

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.