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

Firefox extra bit of space

hey,

my site that i'm developing basically has div's. a wrapper and container div to add the side decoration and within this i look like this:

-------------------header---------------------
-----------main-content--------------------
| |
| |
| |
| |
------------------------------------------------
-------------------footer---------------------

the header and footer mainly provide decoration.

when i put stuff n the main-content div. when view in firefox i get a gap between the top of the div and the content. it doesnt matter where this is text or images. the gap is there. the gap is not there in IE. can anyone explain whythis could be? It is a simple CSS/HTML site.

cheer
phileep
Mar 7 '07 #1
3 1838
drhowarddrfine
7,435 Expert 4TB
It depends on how it's marked up with positioning which would indicate one of many IE bugs. But sometimes this happens depending on what default margins and padding are used by different browsers. Most of us set all margins/padding to zero in css and then set each element to what we want to avoid such problems.
Mar 7 '07 #2
AricC
1,892 Expert 1GB
hey,

my site that i'm developing basically has div's. a wrapper and container div to add the side decoration and within this i look like this:

-------------------header---------------------
-----------main-content--------------------
| |
| |
| |
| |
------------------------------------------------
-------------------footer---------------------

the header and footer mainly provide decoration.

when i put stuff n the main-content div. when view in firefox i get a gap between the top of the div and the content. it doesnt matter where this is text or images. the gap is there. the gap is not there in IE. can anyone explain whythis could be? It is a simple CSS/HTML site.

cheer
phileep
Post the code you're using.
Mar 7 '07 #3
It depends on how it's marked up with positioning which would indicate one of many IE bugs. But sometimes this happens depending on what default margins and padding are used by different browsers. Most of us set all margins/padding to zero in css and then set each element to what we want to avoid such problems.
flipping awesome man - bit of a school boy error on my case thanks for the advice.
Mar 8 '07 #4

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

Similar topics

12
by: skeeterbug | last post by:
http://www.geocities.com/operationsengineer1/test2.htm the extra space between the logoHeader and the menu bar occurs when i add the <ul>. if i comment out the ul and and all the li, the 1em...
3
by: yawnmoth | last post by:
in firefox, long strings without spaces cause a horozontal scrollbar to appear at the bottom of any given textarea. for example, if your textarea supports 50 characters, and 100 consecutive...
8
by: lkrubner | last post by:
Am I wrong, or do paragraphs have extra space on top in FireFox, when compared to Microsoft IE. The top of this page is an example: http://www.publicdomainsoftware.org/index.php?pageId=299 The...
23
by: Markus | last post by:
Hi, i have this problem: Sometimes, i can't reproduce, if i click on an small image on the website, the popup _AND_ an other Tab in firefox open. Here are the linkcode: <div...
6
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...
1
by: Ziphyre | last post by:
Hi, I've got some problems with horizontal drop down menu. It looks fine under Firefox, a mess under IE. I've noticed the following differences/problems: - Extra space between menu items and...
12
by: tim | last post by:
I am using foldoutmenu 3 and am having problems with viewing my menus in firefox. On my sub3 menus i have more than one line of text in some places. firefox does not recognise that there is more...
0
by: Simon Dean | last post by:
Hi, Before I get to far, I've been making some modifications, but I need to make sure Im on the right track. Here's what I have so far: http://celebrity.blargle.co.uk/test2.html Well...
8
by: dancer | last post by:
Using ASP.net 1.1 to create user input form. When I put a RequiredFieldValidator I have extra space at the bottom of the cell, as if I had put a <br>. When I comment out the...
3
by: alice | last post by:
Can someone tell me how I can make it so that on this page http://s195679515.onlinehome.us/essence/index.html in Firefox, the space after the main content and the bottom boxes is only 5px? As it...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...

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.