Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Positioning problems in  FF and IE

Posted on 2007-04-06
Last Modified: 2008-02-01
1. Why does this page http://www.richel.org/grk/nindex.html looks decent in IE7 ( and Dreamweaver as well) but awful in FF? It looks like FF starts each layer first with an empty line that I cannot get rid off.
2. Is hspace not supported by IE7? See 'Mine your own business' picture

Question by:TheoRichel
  • 4
LVL 28

Accepted Solution

TName earned 250 total points
ID: 18863098
Try this (at the very top of your css file!):

* {margin-top:0;}       /*   or   margin:0;   */
LVL 15

Expert Comment

ID: 18863099
The page looks fine for me in firefox and IE 7. There's no differences between the two.  Perhaps you have some strange unique settings in FF that are causing the issue. Create a new firefox profile and open the page with that to see if it looks better for you.

Author Comment

ID: 18863408
Tname, thanks, that did the trick.

Cerisco 96 didnt apparently see it, but it was there definitely (it is now repaired). The two blocks in the column about Vaclav Klaus overlapped top bottom.

The hspace problem is still there however.
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

LVL 28

Expert Comment

ID: 18863621

hspace and vspace are considered deprecated (remember, content:html  -  presentation:css) and should be replaced by css values, e.g.
margin-left and margin-right instead of hspace, margin-top and margin-bottom instead of vspace...

LVL 28

Expert Comment

ID: 18863661
For that image for example, you could define the margins like this if you want 4px left and right, 0px top and bottom:

<img src="nindex_files/Myobklein.jpg" alt="myobklein" align="left" height="90" style="margin:0 4px 0 4px" width="180">
<img src="nindex_files/Myobklein.jpg" alt="myobklein" align="left" height="90" style="margin:0 4px" width="180">
LVL 28

Expert Comment

ID: 18863892
BTW, just viewed the page (and the Myobklein.jpg image) in IE7, and hspace works for me in IE7 too.

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
#Citrix #Internet Explorer #Enterprise Mode #IE 11 #IE 8
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question