473,385 Members | 1,898 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,385 software developers and data experts.

Inconsistent Page Margin

I'm developing my first site with CSS layouts rather than tables, and having a surprising amount of trouble getting a consistent bottom margin on my page.

Under Internet Explorer, I get a bottom margin. Under Safari, I don't. This doesn't surprise me. But the really interesting/annoying thing is... on both Firefox 2.0 in Windows and 1.5 in Mac, I get no margin on loading the page, but it appears when I refresh, along with the text moving a bit.

Does anyone know how can I get the page to a) stop shifting about in Firefox and b) give me a bottom margin.

All help greatly appreciated. Pages at:

http://www.rogue-net.co.uk/nick/4/projects.php
http://www.rogue-net.co.uk/nick/4/stylesheet.css

Thanks.
May 4 '07 #1
6 1705
drhowarddrfine
7,435 Expert 4TB
The problem is not Firefox, it's IE. You are using an incomplete doctype which puts IE into quirks mode and the broken box model. See the sticky at the top of this board. Use html 4.01 strict to get IE to attempt standards compliance.
May 4 '07 #2
Well, yeah, if IE is the only one showing a margin full time, then it is clearly the one with the glitch.

But how I can I get Firefox to stop behaving oddly, and get a margin to show all the time in that and Safari? I did briefly try the strict doctype, but they weren't acting any different.
May 4 '07 #3
Hrm. Well the doctype seems to have fixed the problem in Firefox 2/Windows, but it's still showing no margin in Safari, and being weird in Firefox/Mac.

Guess that's close enough. Thanks.
May 4 '07 #4
drhowarddrfine
7,435 Expert 4TB
But how I can I get Firefox to stop behaving oddly
Like I said, it isn't FF behaving oddly. Whenever you have a difference between IE and any other browser, most likely IE is in error. All versions of IE are old, buggy and non-standard. Never use it as your reference for how things should work.
May 4 '07 #5
Like I said, it isn't FF behaving oddly.
I would call rendering a page one way when loaded normally and a different way when refreshed quite odd behaviour :)
May 4 '07 #6
drhowarddrfine
7,435 Expert 4TB
Is it still doing it? I don't see it.
May 4 '07 #7

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

Similar topics

0
by: Rary | last post by:
I am using XSL:FO to generate PDF report for my XML, generating it in tables, i want that tables should completely be at one place, if there is a page break , all the contents of the table should...
0
by: Nathan | last post by:
Hi, I seem to having a peculiar problem with the display of odd and even pages in XSL-FO. Here is a small background of the problem. My xsl stylesheet mentions my fo:layout-master-set as ...
6
by: Doug Mazzacua | last post by:
I noticed that that <ul> lists display differently with <br> between <li>s in IE and Mozilla. Does anyone know of a reference that catalogs all of the known types of differences in display...
1
by: Edward | last post by:
I created a simple CSS layout (code and example below) for bloggin/writing but ran into five issues that I need help with: 1. How do I get rid of the right-margin red line on the last three...
4
by: rsteph | last post by:
I've found a javascript menu download, I've been tweaking it within a testpage, and getting it to look just right. I finally got everything looking right, all I have to do is alter where the links...
8
by: Amit | last post by:
I have a master page and a content page but the stylesheet isnt getting applied like how it looks in visual studio design view. The master page is defined like this: <%@ Master Language="VB"...
1
by: blueplato | last post by:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head>...
3
by: rassklass | last post by:
HI all, I have designed a site found at www.pickupnewspapers.co.uk/nottinghamshire/index.html but I cant get the footer to sit stil on the page. It is because of the javascript ticker, everytime...
7
by: imtmub | last post by:
I have a page, Head tag Contains many Scripts and style sheet for Menu and Page. This code working fine and displaying menus and page as i wanted. Check this page for reference....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...

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.