Solved

Positioning problems in  FF and IE

Posted on 2007-04-06
6
252 Views
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

Thanks
0
Comment
Question by:TheoRichel
  • 4
6 Comments
 
LVL 28

Accepted Solution

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

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

Expert Comment

by:crisco96
ID: 18863099
The page looks fine for me in firefox 2.0.0.3 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.
0
 

Author Comment

by:TheoRichel
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.
0
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
LVL 28

Expert Comment

by:TName
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...

http://www.punkchip.com/2007/02/css-deprecated-attributes-1/#space
0
 
LVL 28

Expert Comment

by:TName
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">
or
<img src="nindex_files/Myobklein.jpg" alt="myobklein" align="left" height="90" style="margin:0 4px" width="180">
0
 
LVL 28

Expert Comment

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

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
SSL stands for “Secure Sockets Layer” and an SSL certificate is a critical component to keeping your website safe, secured, and compliant. Any ecommerce website must have an SSL certificate to ensure the safe handling of sensitive information like…
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…

813 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now